From e16c565b09f34df24d78331f62de71f527c2d5ab Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Thu, 28 Sep 2017 21:19:47 +0000 Subject: [PATCH] ICU-23327 Fix uninitialized error code in test. X-SVN-Rev: 40502 --- icu4c/source/test/intltest/numfmtst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/numfmtst.cpp b/icu4c/source/test/intltest/numfmtst.cpp index f10e57c0630..f6351232acb 100644 --- a/icu4c/source/test/intltest/numfmtst.cpp +++ b/icu4c/source/test/intltest/numfmtst.cpp @@ -8787,7 +8787,7 @@ void NumberFormatTest::Test11649_toPatternWithMultiCurrency() { } void NumberFormatTest::Test13327_numberingSystemBufferOverflow() { - UErrorCode status; + UErrorCode status = U_ZERO_ERROR; for (int runId = 0; runId < 2; runId++) { // Construct a locale string with a very long "numbers" value. // The first time, make the value length exactly equal to ULOC_KEYWORDS_CAPACITY. -- 2.40.0