From 4ad19de7ce19cb4c01ac4d4ddf028d49de0d1736 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 28 Jan 2023 23:16:19 +0100 Subject: [PATCH] Fix build error due to decl after case Fixes the following error: ../main.c:267:4: error: expected expression char *end = NULL; ^ --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a6199a5..00e883e 100644 --- a/main.c +++ b/main.c @@ -263,7 +263,7 @@ int main(int argc, char *argv[]) { } switch (opt) { - case 'd': + case 'd':; char *end = NULL; errno = 0; delay_sec = strtod(optarg, &end); -- 2.38.5