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

Unified Diff: app/l10n_util.cc

Issue 3473006: Fix a bunch of clang warnings/errors. (Closed)
Patch Set: Created 10 years, 3 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
« no previous file with comments | « no previous file | base/mac_util.mm » ('j') | base/scoped_nsobject.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/l10n_util.cc
diff --git a/app/l10n_util.cc b/app/l10n_util.cc
index 824d054a22f3a2483bea8cbbc614ef5ec6925e59..7e1c75ad2fc244872eec68e70c242f45e3320220 100644
--- a/app/l10n_util.cc
+++ b/app/l10n_util.cc
@@ -227,6 +227,7 @@ bool IsLocalePartiallyPopulated(const std::string& locale_name) {
return !IsLocaleNameTranslated("en", locale_name);
}
+#if !defined(OS_MACOSX)
Evan Martin 2010/09/21 18:52:20 I think we disable the unused function warnings al
bool IsLocaleAvailable(const std::string& locale,
const FilePath& locale_path) {
// If locale has any illegal characters in it, we don't want to try to
@@ -324,6 +325,7 @@ std::string GetSystemLocale() {
}
return ret;
}
+#endif
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Split and normalize the language list specified by LANGUAGE environment.
« no previous file with comments | « no previous file | base/mac_util.mm » ('j') | base/scoped_nsobject.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698