Fixed several warnings with fallthrough on gcc 8

This commit is contained in:
Jan Möbius
2019-01-15 11:07:39 +01:00
parent 3d799d72c6
commit 76c61df596
10 changed files with 9 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ int main(int argc, char **argv)
case 'm': { std::stringstream s; s << optarg; s >> max_nv; } break;
case 'r': rule_sequence = optarg; break;
case 'U': uniform = true; break;
case 'h': usage_and_exit(argv[0],0);
case 'h': usage_and_exit(argv[0],0); break;
case '?':
default: usage_and_exit(argv[0],1);
}

View File

@@ -234,7 +234,7 @@ int main(int argc, char **argv)
}
break;
}
case 'h': usage_and_exit(0);
case 'h': usage_and_exit(0); break;
case '?':
default: usage_and_exit(1);
}