summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorwerdl <werdl_@outlook.com>2025-05-28 08:42:25 +0100
committerwerdl <werdl_@outlook.com>2025-05-28 08:42:25 +0100
commit0735d1e62ad0f1a474b7bd758fe03f2e434f5c40 (patch)
tree87b7d6ed92c93ff24b39330344f6ea339b054895 /src/parser.c
parent65ef10005ced5d290348f7dac774d28886c2be63 (diff)
Add OpenBSD installation instructions
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);