~emersion/chayang

4ad19de7ce19cb4c01ac4d4ddf028d49de0d1736 — Simon Ser 4 months ago 03f80d8
Fix build error due to decl after case

Fixes the following error:

    ../main.c:267:4: error: expected expression
                            char *end = NULL;
                            ^
1 files changed, 1 insertions(+), 1 deletions(-)

M main.c
M main.c => main.c +1 -1
@@ 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);