Fix build error due to decl after case
Fixes the following error: ../main.c:267:4: error: expected expression char *end = NULL; ^
This commit is contained in:
parent
03f80d8c6b
commit
4ad19de7ce
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -263,7 +263,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
case 'd':
|
case 'd':;
|
||||||
char *end = NULL;
|
char *end = NULL;
|
||||||
errno = 0;
|
errno = 0;
|
||||||
delay_sec = strtod(optarg, &end);
|
delay_sec = strtod(optarg, &end);
|
||||||
|
|
Loading…
Add table
Reference in a new issue