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:
Peter Kasting 2021-07-17 21:32:42 -07:00 committed by Joshua Peraza
parent 415b54ab8c
commit 32096a2dc8

View file

@ -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;
} }
} }