summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util
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/util
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/util')
-rw-r--r--chrome/installer/util/google_update_settings_unittest.cc3
-rw-r--r--chrome/installer/util/language_selector.cc3
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/installer/util/google_update_settings_unittest.cc b/chrome/installer/util/google_update_settings_unittest.cc
index 46b933b..1a8afaad 100644
--- a/chrome/installer/util/google_update_settings_unittest.cc
+++ b/chrome/installer/util/google_update_settings_unittest.cc
@@ -32,7 +32,10 @@ using installer::ChannelInfo;
namespace {
const wchar_t kTestProductGuid[] = L"{89F1B351-B15D-48D4-8F10-1298721CF13D}";
+
+#if defined(GOOGLE_CHROME_BUILD)
const wchar_t kTestExperimentLabel[] = L"test_label_value";
+#endif
// This test fixture redirects the HKLM and HKCU registry hives for
// the duration of the test to make it independent of the machine
diff --git a/chrome/installer/util/language_selector.cc b/chrome/installer/util/language_selector.cc
index a828913..a29ec1f 100644
--- a/chrome/installer/util/language_selector.cc
+++ b/chrome/installer/util/language_selector.cc
@@ -28,9 +28,6 @@ struct LangToOffset {
const wchar_t kFallbackLanguage[] = L"en-us";
const int kFallbackLanguageOffset = IDS_L10N_OFFSET_EN_US;
-// http://tools.ietf.org/html/rfc5646 Section 2.3.3
-const std::wstring::size_type kScriptSubtagLength = 4;
-
// A sorted array of language identifiers (and their offsets) for which
// translations are available. The contents of the array are generated by
// create_string_rc.py.