X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..b801cf366c7671a99bdcef84d1e9c0ec64b36723:/icuSources/test/intltest/transtst.cpp diff --git a/icuSources/test/intltest/transtst.cpp b/icuSources/test/intltest/transtst.cpp index 508da51d..33f54a7e 100644 --- a/icuSources/test/intltest/transtst.cpp +++ b/icuSources/test/intltest/transtst.cpp @@ -1,6 +1,6 @@ /* ********************************************************************** -* Copyright (C) 1999-2011, International Business Machines +* Copyright (C) 1999-2014, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -198,7 +198,6 @@ TransliteratorTest::runIndexedTest(int32_t index, UBool exec, } } -static const UVersionInfo ICU_39 = {3,9,4,0}; /** * Make sure every system transliterator can be instantiated. * @@ -1478,7 +1477,7 @@ void TransliteratorTest::TestNormalizationTransliterator() { Transliterator* NFKD = Transliterator::createInstance("NFKD", UTRANS_FORWARD, parseError, status); Transliterator* NFKC = Transliterator::createInstance("NFKC", UTRANS_FORWARD, parseError, status); if (!NFKD || !NFKC) { - errln("FAIL: createInstance failed"); + dataerrln("FAIL: createInstance failed"); delete NFKD; delete NFKC; return; @@ -3608,6 +3607,7 @@ void TransliteratorTest::CheckIncrementalAux(const Transliterator* t, return; } UBool gotError = FALSE; + (void)gotError; // Suppress set but not used warning. // we have a few special cases. Any-Remove (pos.start = 0, but also = limit) and U+XXXXX?X? @@ -4282,7 +4282,6 @@ static const char* BEGIN_END_RULES[] = { "::Upper(Lower);" "::([XYZ]);" }; -static const int32_t BEGIN_END_RULES_length = (int32_t)(sizeof(BEGIN_END_RULES) / sizeof(BEGIN_END_RULES[0])); /* (This entire test is commented out below and will need some heavy revision when we re-add