summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup
diff options
context:
space:
mode:
authormgiuca <mgiuca@chromium.org>2015-07-07 21:08:24 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-08 04:09:00 +0000
commit88867d310fc297151344fcf294d23554371b2644 (patch)
tree5e5b72209031531800ce46ee19a8b2e8b5b7920a /chrome/installer/setup
parentf3c539b18f4e90349ebb3add169abe8478262b58 (diff)
downloadchromium_src-88867d310fc297151344fcf294d23554371b2644.zip
chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.gz
chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.bz2
Fixed all unused-variable Clang warnings on Windows.
Usually, fixed by removing the unused variables. Some variables had to be guarded by #ifs. Some variables could be used instead. Also removed unused test file sweep02_16b_mono_16KHz.raw. BUG=505319 TBR=rpaquay@chromium.org Review URL: https://codereview.chromium.org/1220133003 Cr-Commit-Position: refs/heads/master@{#337767}
Diffstat (limited to 'chrome/installer/setup')
-rw-r--r--chrome/installer/setup/install_worker_unittest.cc3
-rw-r--r--chrome/installer/setup/setup_main.cc1
2 files changed, 0 insertions, 4 deletions
diff --git a/chrome/installer/setup/install_worker_unittest.cc b/chrome/installer/setup/install_worker_unittest.cc
index f53a48e..edd3363 100644
--- a/chrome/installer/setup/install_worker_unittest.cc
+++ b/chrome/installer/setup/install_worker_unittest.cc
@@ -502,9 +502,6 @@ TEST_F(InstallWorkerTest, TestInstallChromeSingleSystem) {
namespace {
-const wchar_t elevation_key[] =
- L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\"
- L"{E0A900DF-9611-4446-86BD-4B1D47E7DB2A}";
const wchar_t old_elevation_key[] =
L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\"
L"{6C288DD7-76FB-4721-B628-56FAC252E199}";
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 0fc346d..93eb38d4 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -78,7 +78,6 @@ using installer::Product;
using installer::ProductState;
using installer::Products;
-const wchar_t kChromePipeName[] = L"\\\\.\\pipe\\ChromeCrashServices";
const wchar_t kGoogleUpdatePipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\";
const wchar_t kSystemPrincipalSid[] = L"S-1-5-18";