From 88867d310fc297151344fcf294d23554371b2644 Mon Sep 17 00:00:00 2001 From: mgiuca Date: Tue, 7 Jul 2015 21:08:24 -0700 Subject: 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} --- chrome/installer/util/google_update_settings_unittest.cc | 3 +++ chrome/installer/util/language_selector.cc | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/installer/util') 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. -- cgit v1.1