summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
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 be522cb..550e816 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -334,6 +334,8 @@ bool g_binary_format_add_symbol(GBinFormat *format, GBinSymbol *symbol)
format->symbols = _qinsert(format->symbols, &format->symbols_count,
sizeof(GBinSymbol *), &symbol, index);
+ result = true;
+
switch (g_binary_symbol_get_target_type(symbol))
{
case STP_ROUTINE: