From 32096a2dc8f8a7d5aac4097e34912bb7e06a5277 Mon Sep 17 00:00:00 2001 From: Peter Kasting Date: Sat, 17 Jul 2021 21:32:42 -0700 Subject: [PATCH] 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 --- src/tools/linux/symupload/sym_upload.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc index 87f12966..13e5b06f 100644 --- a/src/tools/linux/symupload/sym_upload.cc +++ b/src/tools/linux/symupload/sym_upload.cc @@ -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, // otherwise exit cleanly. exit(optopt == 0 ? 0 : 1); - break; case 'u': options->proxy_user_pwd = optarg; break; @@ -172,7 +171,6 @@ SetupOptions(int argc, const char *argv[], Options *options) { fprintf(stderr, "Invalid option '%c'\n", ch); Usage(argc, argv); exit(1); - break; } }