gcc now objects to a default label without any contents. Because I want
to have a comment present in the default case, add a 'break' to each default case that previously had no actual statements.
This commit is contained in:
parent
90d6d28efa
commit
9e7ebef8c3
@ -290,6 +290,7 @@ enact_scenario(int scenario)
|
||||
exit(0);
|
||||
default:
|
||||
/* parent */
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -402,6 +403,7 @@ enact_scenario(int scenario)
|
||||
|
||||
default:
|
||||
/* parent */
|
||||
break;
|
||||
}
|
||||
|
||||
error = waitpid(pid2, NULL, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user