mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 05:15:34 +00:00
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
|
@ -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