From 855d9d729243c43469f4be15351886ebd88c28f5 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 2 Feb 2023 11:11:37 +0100 Subject: [PATCH] use 1 semicolon for statements terminations Signed-off-by: Elyes Haouas --- asm/preproc.c | 2 +- output/outelf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/asm/preproc.c b/asm/preproc.c index ac42131e9..8e8be3551 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -4675,7 +4675,7 @@ static int do_directive(Token *tline, Token **output) } 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 ad8d2104d..c2b6e00cf 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;