summaryrefslogtreecommitdiff
path: root/src/format/mangling/itanium
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/mangling/itanium')
-rw-r--r--src/format/mangling/itanium/abi.c2
-rw-r--r--src/format/mangling/itanium/component.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/format/mangling/itanium/abi.c b/src/format/mangling/itanium/abi.c
index f02d4cc..b9c3dfa 100644
--- a/src/format/mangling/itanium/abi.c
+++ b/src/format/mangling/itanium/abi.c
@@ -2271,6 +2271,8 @@ static itanium_component *itd_expr_primary(GItaniumDContext *context)
itd_unref_comp(type);
}
+ else
+ result = NULL;
/* Règle <mangled-name> */
diff --git a/src/format/mangling/itanium/component.c b/src/format/mangling/itanium/component.c
index def9a38..d147ba8 100644
--- a/src/format/mangling/itanium/component.c
+++ b/src/format/mangling/itanium/component.c
@@ -593,6 +593,9 @@ char *itd_translate_component(GItaniumDContext *context, const itanium_component
case IOT_VENDOR:
result = stradd(base, "TODO_VENDOR");
break;
+ default:
+ result = NULL;
+ break;
}
break;