Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: handler/handler_main.cc

Issue 1489293004: win: Fix some warnings reported by /analyze (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | util/win/process_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: handler/handler_main.cc
diff --git a/handler/handler_main.cc b/handler/handler_main.cc
index 923d2b7ca770326849b7b58db5cd1d8dcd251283..16855fa82642e9ef92605ec600e35d4195a6cdb5 100644
--- a/handler/handler_main.cc
+++ b/handler/handler_main.cc
@@ -339,7 +339,6 @@ int HandlerMain(int argc, char* argv[]) {
#elif defined(OS_WIN)
ExceptionHandlerServer exception_handler_server(!options.pipe_name.empty());
- std::string pipe_name;
if (!options.pipe_name.empty()) {
exception_handler_server.SetPipeName(base::UTF8ToUTF16(options.pipe_name));
} else if (options.handshake_handle != INVALID_HANDLE_VALUE) {
« no previous file with comments | « no previous file | util/win/process_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698