From f944990c548f3744283c47d2b9c78b76ca36f0c1 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 16 Mar 2026 09:53:22 +0100 Subject: [PATCH] Fix some flagged stray semicolon in C code (;;) --- src/modules/who_old.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/who_old.c b/src/modules/who_old.c index d2a8572b6..09c8d9a9a 100644 --- a/src/modules/who_old.c +++ b/src/modules/who_old.c @@ -262,15 +262,15 @@ static int parse_who_options(Client *client, int argc, const char **argv) #define REQUIRE_PARAM() { if (i >= argc) { \ who_sendhelp(client); \ return -1; \ - } } while(0); + } } while(0) /** set option 'x' depending on 'what' (add/want or del/dontwant) */ #define SET_OPTION(x) { if (what == WHO_ADD) \ x = WHO_WANT; \ else \ x = WHO_DONTWANT; \ - } while(0); + } while(0) /** Eat a param, set the param in memory and set the option to want or dontwant */ -#define DOIT(x,y) { REQUIRE_PARAM(); x = argv[i]; SET_OPTION(y); i++; } while(0); +#define DOIT(x,y) { REQUIRE_PARAM(); x = argv[i]; SET_OPTION(y); i++; } while(0) if (*s != '-' && *s != '+') return 0;