summaryrefslogtreecommitdiffstats
path: root/win8/delegate_execute/crash_server_init.cc
diff options
context:
space:
mode:
authorPeter Kasting <pkasting@google.com>2014-11-20 15:14:08 -0800
committerPeter Kasting <pkasting@google.com>2014-11-20 23:16:57 +0000
commitbe940e9e152e528fc567c4eeeeb5930710873f98 (patch)
tree8496f9708b39b9ed106be20043e2e37d6ab58eb0 /win8/delegate_execute/crash_server_init.cc
parentce6760690b52af662b5684f24dca6edc20832edf (diff)
downloadchromium_src-be940e9e152e528fc567c4eeeeb5930710873f98.zip
chromium_src-be940e9e152e528fc567c4eeeeb5930710873f98.tar.gz
chromium_src-be940e9e152e528fc567c4eeeeb5930710873f98.tar.bz2
Enable MSVC warning for unused locals.
There is seemingly a bug in the compiler where it occasionally claims a local is unused when it isn't. This forces a few places to either inline such locals or mark them ALLOW_UNUSED_LOCAL. BUG=81439 TEST=none R=brettw@chromium.org, cpu@chromium.org, jamesr@chromium.org, rvargas@chromium.org, sievers@chromium.org, sky@chromium.org, vitalybuka@chromium.org, wolenetz@chromium.org Review URL: https://codereview.chromium.org/731373002 Cr-Commit-Position: refs/heads/master@{#305108}
Diffstat (limited to 'win8/delegate_execute/crash_server_init.cc')
-rw-r--r--win8/delegate_execute/crash_server_init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/delegate_execute/crash_server_init.cc b/win8/delegate_execute/crash_server_init.cc
index 646c57b..1272652 100644
--- a/win8/delegate_execute/crash_server_init.cc
+++ b/win8/delegate_execute/crash_server_init.cc
@@ -68,7 +68,7 @@ namespace delegate_execute {
scoped_ptr<google_breakpad::ExceptionHandler> InitializeCrashReporting() {
wchar_t temp_path[MAX_PATH + 1] = {0};
- DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);
+ ::GetTempPath(MAX_PATH, temp_path);
base::string16 pipe_name;
pipe_name = kGoogleUpdatePipeName;