summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/directiv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/directiv.c b/asm/directiv.c
index 7c741685..7e646832 100644
--- a/asm/directiv.c
+++ b/asm/directiv.c
@@ -99,6 +99,8 @@ static iflag_t get_cpu(const char *value)
{ NULL, IF_PLEVEL } /* Error and final default entry */
};
+ iflag_clear_all(&r);
+
for (cpu = cpunames; cpu->name; cpu++) {
if (!strcmp(value, cpu->name))
break;