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

Unified Diff: source/common/uidna.cpp

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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/common/udataswp.c ('k') | source/common/uinit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/uidna.cpp
diff --git a/source/common/uidna.cpp b/source/common/uidna.cpp
index b7780b84e6c910ac7dc462811b49467b89068ebe..c9ab8026258c5b1e81a397600f97f58aed81744d 100644
--- a/source/common/uidna.cpp
+++ b/source/common/uidna.cpp
@@ -1,7 +1,7 @@
/*
*******************************************************************************
*
- * Copyright (C) 2003-2009, International Business Machines
+ * Copyright (C) 2003-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -408,13 +408,12 @@ _internal_toUnicode(const UChar* src, int32_t srcLength,
//initialize pointers to stack buffers
UChar *b1 = b1Stack, *b2 = b2Stack, *b1Prime=NULL, *b3=b3Stack;
- int32_t b1Len, b2Len, b1PrimeLen, b3Len,
+ int32_t b1Len = 0, b2Len, b1PrimeLen, b3Len,
b1Capacity = MAX_LABEL_BUFFER_SIZE,
b2Capacity = MAX_LABEL_BUFFER_SIZE,
b3Capacity = MAX_LABEL_BUFFER_SIZE,
reqLength=0;
- b1Len = 0;
UBool* caseFlags = NULL;
UBool srcIsASCII = TRUE;
« no previous file with comments | « source/common/udataswp.c ('k') | source/common/uinit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698