]> granicus.if.org Git - icu/commitdiff
ICU-9457 Fix some compiler warnings.
authorGeorge Rhoten <grhoten@users.noreply.github.com>
Fri, 3 Aug 2012 21:16:37 +0000 (21:16 +0000)
committerGeorge Rhoten <grhoten@users.noreply.github.com>
Fri, 3 Aug 2012 21:16:37 +0000 (21:16 +0000)
X-SVN-Rev: 32099

icu4c/source/i18n/digitlst.cpp
icu4c/source/test/cintltst/cmsgtst.c

index ec3dc971962ced94a340f7d5f90e8b601a473691..39a30cf937879e26d9e426450597a7af4098c447 100644 (file)
@@ -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;
 }
 
index 2ff3fbd486b564d469725a9e02323b257dc5d673..a16b1ba31ada8aa8c48b5e82acf5796dc15fcfb0 100644 (file)
@@ -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__);