diff --git a/icu4c/source/test/intltest/cppcnvt.cpp b/icu4c/source/test/intltest/cppcnvt.cpp index 05018577360..b53b277d5d3 100644 --- a/icu4c/source/test/intltest/cppcnvt.cpp +++ b/icu4c/source/test/intltest/cppcnvt.cpp @@ -171,9 +171,9 @@ void ConvertTest::TestConvert() (char)0xB0, (char)0xAD } }; - UConverterFromUCallback fromUAction; + UConverterFromUCallback fromUAction = NULL; void* fromUContext = NULL; - UConverterToUCallback toUAction; + UConverterToUCallback toUAction = NULL; void* toUContext = NULL; /*Calling all the UnicodeConverterCPP API and checking functionality*/