From f5054571833aa4c8a50a11dfaffa0dacc2280549 Mon Sep 17 00:00:00 2001 From: William Zhao <39807811+mingyzha@users.noreply.github.com> Date: Mon, 12 Feb 2018 18:38:22 +0000 Subject: [PATCH] ICU-13546 X-SVN-Rev: 40896 --- icu4c/source/common/unicode/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/unicode/utf8.h b/icu4c/source/common/unicode/utf8.h index 555e8bd4e28..8ccc7dfebab 100644 --- a/icu4c/source/common/unicode/utf8.h +++ b/icu4c/source/common/unicode/utf8.h @@ -380,7 +380,7 @@ utf8_back1SafeBody(const uint8_t *s, int32_t start, int32_t i); #define U8_INTERNAL_NEXT_OR_SUB(s, i, length, c, sub) { \ (c)=(uint8_t)(s)[(i)++]; \ if(!U8_IS_SINGLE(c)) { \ - uint8_t __t; \ + uint8_t __t = 0; \ if((i)!=(length) && \ /* fetch/validate/assemble all but last trail byte */ \ ((c)>=0xe0 ? \