[nasm:master] Fix warning on ; outside of function

nasm-bot for Carlos Bilbao Zildj1an at users.noreply.github.com
Mon Nov 7 17:12:26 PST 2022


Commit-ID:  c0d902c6c2037d94424883ea7d25362090deac4d
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=c0d902c6c2037d94424883ea7d25362090deac4d
Author:     Carlos Bilbao <Zildj1an at users.noreply.github.com>
AuthorDate: Mon, 4 Apr 2022 10:25:58 -0500
Committer:  GitHub <noreply at github.com>
CommitDate: Mon, 4 Apr 2022 10:25:58 -0500

Fix warning on ; outside of function

 Fix "warning ISO C does not allow extra ‘;’ outside of a function" when using gcc v8.5. 
Signed-off-by: Carlos Bilbao <carlos.bilbao at amd.com>

---
 nasmlib/crc32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nasmlib/crc32.c b/nasmlib/crc32.c
index 40b914ef..9b4068e9 100644
--- a/nasmlib/crc32.c
+++ b/nasmlib/crc32.c
@@ -112,4 +112,4 @@ uint32_t crc32b(uint32_t crc, const void *data, size_t len)
     }
 
     return hashval;
-};
+}


More information about the Nasm-commits mailing list