From: George Rhoten Date: Fri, 3 Aug 2012 21:16:37 +0000 (+0000) Subject: ICU-9457 Fix some compiler warnings. X-Git-Tag: milestone-59-0-1~3695 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f3551a74d5b3738d3c461d47082adfb1b6a8fb9;p=icu ICU-9457 Fix some compiler warnings. X-SVN-Rev: 32099 --- diff --git a/icu4c/source/i18n/digitlst.cpp b/icu4c/source/i18n/digitlst.cpp index ec3dc971962..39a30cf9378 100644 --- a/icu4c/source/i18n/digitlst.cpp +++ b/icu4c/source/i18n/digitlst.cpp @@ -921,7 +921,7 @@ DigitList::isZero() const -void * U_EXPORT2 DigitList::operator new(size_t size, void *stack, EStackMode mode) U_NO_THROW { +void * U_EXPORT2 DigitList::operator new(size_t /*size*/, void *stack, EStackMode /*mode*/) U_NO_THROW { return stack; } diff --git a/icu4c/source/test/cintltst/cmsgtst.c b/icu4c/source/test/cintltst/cmsgtst.c index 2ff3fbd486b..a16b1ba31ad 100644 --- a/icu4c/source/test/cintltst/cmsgtst.c +++ b/icu4c/source/test/cintltst/cmsgtst.c @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2011, International Business Machines Corporation and + * Copyright (c) 1997-2012, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************** * @@ -219,7 +219,7 @@ static void MessageFormatTest( void ) austrdup(result), austrdup(testResultStrings[i]) ); } -#if U_PLATFORM_IS_DARWIN_BASED || (U_PLATFORM == U_PF_LINUX) /* add platforms here .. */ +#if (U_PLATFORM == U_PF_LINUX) /* add platforms here .. */ log_verbose("Skipping potentially crashing test for mismatched varargs.\n"); #else log_verbose("Note: the next is a platform dependent test. If it crashes, add an exclusion for your platform near %s:%d\n", __FILE__, __LINE__);