]> Savannah Git Hosting - gnulib.git/commitdiff
argp: Fix clang -Wextra-semi-stmt warning.
authorBruno Haible <bruno@clisp.org>
Thu, 7 Sep 2023 00:25:30 +0000 (02:25 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 14 Sep 2023 10:15:26 +0000 (12:15 +0200)
* lib/argp-help.c (SKIPWS): Remove trailing semicolon.

ChangeLog
lib/argp-help.c

index 124ddb17e9ef65a8f405c1576e2cb1a105142be9..f8ff679f79311c2b0eeb2822e480d83888258955 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-09-06  Bruno Haible  <bruno@clisp.org>
+
+       argp: Fix clang -Wextra-semi-stmt warning.
+       * lib/argp-help.c (SKIPWS): Remove trailing semicolon.
+
 2023-09-05  Bruno Haible  <bruno@clisp.org>
 
        unigbrk/u8-grapheme-{next,prev} tests: Fix gcc -Wformat warnings.
index 7a277ebf13a1b4f745a91198874da70d58045b53..9a663d547be6eda716bb281764ce52d66c28632e 100644 (file)
@@ -165,7 +165,7 @@ fill_in_uparams (const struct argp_state *state)
   const char *var = getenv ("ARGP_HELP_FMT");
   struct uparams new_params = uparams;
 
-#define SKIPWS(p) do { while (isspace ((unsigned char) *p)) p++; } while (0);
+#define SKIPWS(p) do { while (isspace ((unsigned char) *p)) p++; } while (0)
 
   if (var)
     {