summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorAbhinav <abhinav.prsai@gmail.com>2025-05-29 16:35:16 +0100
committerAbhinav <abhinav.prsai@gmail.com>2025-05-29 16:35:16 +0100
commit51fcaf2050eaae19253baef0cdc7e40b6b6c29fd (patch)
tree8b683c1acb74943d4926b02d9e3afc267faca2da /src/parser.c
parentf335744e28b491b1c7cd7f25584ab43322d706eb (diff)
removed if (0) {} in favour of just a semi-colon
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c5
1 files changed, 1 insertions, 4 deletions
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);