Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: source/test/intltest/bidiconf.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/intltest/apicoll.cpp ('k') | source/test/intltest/calregts.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/bidiconf.cpp
diff --git a/source/test/intltest/bidiconf.cpp b/source/test/intltest/bidiconf.cpp
index 4ed836e2fc0583607c15966364cf862167fb2a9c..c989bd5045b146a57f7cd558d7e69ad0321766f0 100644
--- a/source/test/intltest/bidiconf.cpp
+++ b/source/test/intltest/bidiconf.cpp
@@ -280,6 +280,8 @@ void BiDiConformanceTest::TestBidiTest() {
levelsCount=0;
orderingCount=0;
errorCount=0;
+ // paraLevelName must be initialized in case the first non-comment line is in error
+ paraLevelName="N/A";
while(errorCount<10 && fgets(line, (int)sizeof(line), bidiTestFile.getAlias())!=NULL) {
++lineNumber;
// Remove trailing comments and whitespace.
« no previous file with comments | « source/test/intltest/apicoll.cpp ('k') | source/test/intltest/calregts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698