Fix more instances of -Wunreachable-code-aggressive.
Bug: chromium:1066980 Change-Id: Id4bc2b08180963bc6ef61df6548341c8198d4c5e Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3036985 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
415b54ab8c
commit
32096a2dc8
1 changed files with 0 additions and 2 deletions
|
@ -127,7 +127,6 @@ SetupOptions(int argc, const char *argv[], Options *options) {
|
||||||
// the bad arg value, so return an error code if optopt is set,
|
// the bad arg value, so return an error code if optopt is set,
|
||||||
// otherwise exit cleanly.
|
// otherwise exit cleanly.
|
||||||
exit(optopt == 0 ? 0 : 1);
|
exit(optopt == 0 ? 0 : 1);
|
||||||
break;
|
|
||||||
case 'u':
|
case 'u':
|
||||||
options->proxy_user_pwd = optarg;
|
options->proxy_user_pwd = optarg;
|
||||||
break;
|
break;
|
||||||
|
@ -172,7 +171,6 @@ SetupOptions(int argc, const char *argv[], Options *options) {
|
||||||
fprintf(stderr, "Invalid option '%c'\n", ch);
|
fprintf(stderr, "Invalid option '%c'\n", ch);
|
||||||
Usage(argc, argv);
|
Usage(argc, argv);
|
||||||
exit(1);
|
exit(1);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue