diff --git a/asm/preproc.c b/asm/preproc.c index 00c0294a..0f0e792d 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -4739,7 +4739,7 @@ issue_error: } mmac = istk->mstk.mmac; if (!mmac) { - nasm_nonfatal("`%s' invoked outside a macro call", dname);; + nasm_nonfatal("`%s' invoked outside a macro call", dname); } else if (mmac->nparam == 0) { nasm_nonfatal("`%s' invoked within macro without parameters", dname); } else { diff --git a/output/outelf.c b/output/outelf.c index ad8d2104..c2b6e00c 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -558,7 +558,7 @@ static void elf_init(void) saa_wbytes(strs, elf_module, strlen(elf_module)+1); strslen = 2 + strlen(elf_module); shstrtab = NULL; - shstrtablen = shstrtabsize = 0;; + shstrtablen = shstrtabsize = 0; add_sectname("", ""); /* SHN_UNDEF */ fwds = NULL;