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; |