summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-10 13:55:03 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-10 13:55:03 (GMT)
commit585a2f345be7f58a6811f0eceda8c2b39e103deb (patch)
tree09f7cc7f776253ba949cc83e9488f59acb49f39f /src/format
parent239694d99ad81f1e435125e76a2a930213d06b21 (diff)
Fixed a bug when the replacing string contains the replaced pattern.
Diffstat (limited to 'src/format')
-rw-r--r--src/format/format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/format.c b/src/format/format.c
index dd70281..8395c6e 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -232,8 +232,10 @@ void g_binary_format_setup_disassembling_context(const GBinFormat *format, GProc
void _g_binary_format_add_symbol(GBinFormat *format, GBinSymbol *symbol, bool sort)
{
+#ifndef NDEBUG
const mrange_t *range; /* Couverture du symbole */
const vmpa2t *addr; /* Emplacement du symbole */
+#endif
/**
* Lorsque les fonctions de recherche type g_binary_format_find_symbol_at()