From 51fcaf2050eaae19253baef0cdc7e40b6b6c29fd Mon Sep 17 00:00:00 2001 From: Abhinav Date: Thu, 29 May 2025 16:35:16 +0100 Subject: removed if (0) {} in favour of just a semi-colon --- src/parser.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/parser.c b/src/parser.c index c2c6e23..6bf1294 100644 --- a/src/parser.c +++ b/src/parser.c @@ -157,10 +157,7 @@ int parser(Config *cfg) goto found; } -found: - if (0) { - } // label followed by declaration is a C23 extension - +found:; // label followed by declaration is a C23 extension FILE *f = fopen(path, "r"); if (!f) { fprintf(stderr, "sxwmrc: cannot open %s\n", path); -- cgit v1.2.3