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

Unified Diff: chrome/installer/util/language_selector.cc

Issue 1220133003: Fixed all unused-variable Clang warnings on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iaccessible2-fix-gn
Patch Set: Rebase. Created 5 years, 5 months 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
Index: chrome/installer/util/language_selector.cc
diff --git a/chrome/installer/util/language_selector.cc b/chrome/installer/util/language_selector.cc
index 5197d06f4b1b71397b7983eaadeefe9bd76886da..ec1390bbfacb96711554db200cf7fa3f4d4d1eb0 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.

Powered by Google App Engine
This is Rietveld 408576698