summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 7cc59d1..0dcc03e 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -166,6 +166,7 @@ int parser(Config *cfg)
}
found:
+ if (0) {} // label followed by declaration is a C23 extension
FILE *f = fopen(path, "r");
if (!f) {
fprintf(stderr, "sxwmrc: cannot open %s\n", path);