From 0fe8e394bf9db31bb6de125c9499b174a167b784 Mon Sep 17 00:00:00 2001 From: Jeff Genovy <29107334+jefgen@users.noreply.github.com> Date: Thu, 13 Apr 2017 23:32:36 +0000 Subject: [PATCH] ICU-13143 - Suppress unused variable warning on *nix platforms. X-SVN-Rev: 40053 --- icu4c/source/common/locmap.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icu4c/source/common/locmap.cpp b/icu4c/source/common/locmap.cpp index dd44c08af3..97dc00c773 100644 --- a/icu4c/source/common/locmap.cpp +++ b/icu4c/source/common/locmap.cpp @@ -1213,6 +1213,8 @@ uprv_convertToLCIDPlatform(const char* localeID) } } } +#else + (void)localeID; // Suppress unused variable warning. #endif /* USE_WINDOWS_LCID_MAPPING_API */ // No found, or not implemented on platforms without native name->lcid conversion