| Index: source/common/ucnv_u8.c
|
| diff --git a/source/common/ucnv_u8.c b/source/common/ucnv_u8.c
|
| index b78587339a3fdbce3522cbfb61f1b47ed2f2d903..0258347aeb1111f86560d1b91ea45ab7efae6a45 100644
|
| --- a/source/common/ucnv_u8.c
|
| +++ b/source/common/ucnv_u8.c
|
| @@ -1,6 +1,8 @@
|
| +// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
| +// License & terms of use: http://www.unicode.org/copyright.html
|
| /*
|
| **********************************************************************
|
| -* Copyright (C) 2002-2015, International Business Machines
|
| +* Copyright (C) 2002-2016, International Business Machines
|
| * Corporation and others. All Rights Reserved.
|
| **********************************************************************
|
| * file name: ucnv_u8.c
|
| @@ -680,7 +682,8 @@ static UChar32 ucnv_getNextUChar_UTF8(UConverterToUnicodeArgs *args,
|
| break;
|
| }
|
| ++source;
|
| - case 5: /*fall through*/
|
| + U_FALLTHROUGH;
|
| + case 5:
|
| ch += (myByte = *source);
|
| ch <<= 6;
|
| if (!U8_IS_TRAIL(myByte))
|
| @@ -689,7 +692,8 @@ static UChar32 ucnv_getNextUChar_UTF8(UConverterToUnicodeArgs *args,
|
| break;
|
| }
|
| ++source;
|
| - case 4: /*fall through*/
|
| + U_FALLTHROUGH;
|
| + case 4:
|
| ch += (myByte = *source);
|
| ch <<= 6;
|
| if (!U8_IS_TRAIL(myByte))
|
| @@ -698,7 +702,8 @@ static UChar32 ucnv_getNextUChar_UTF8(UConverterToUnicodeArgs *args,
|
| break;
|
| }
|
| ++source;
|
| - case 3: /*fall through*/
|
| + U_FALLTHROUGH;
|
| + case 3:
|
| ch += (myByte = *source);
|
| ch <<= 6;
|
| if (!U8_IS_TRAIL(myByte))
|
| @@ -707,7 +712,8 @@ static UChar32 ucnv_getNextUChar_UTF8(UConverterToUnicodeArgs *args,
|
| break;
|
| }
|
| ++source;
|
| - case 2: /*fall through*/
|
| + U_FALLTHROUGH;
|
| + case 2:
|
| ch += (myByte = *source);
|
| if (!U8_IS_TRAIL(myByte))
|
| {
|
| @@ -1068,7 +1074,10 @@ static const UConverterImpl _CESU8Impl={
|
| NULL,
|
| NULL,
|
| NULL,
|
| - ucnv_getCompleteUnicodeSet
|
| + ucnv_getCompleteUnicodeSet,
|
| +
|
| + NULL,
|
| + NULL
|
| };
|
|
|
| static const UConverterStaticData _CESU8StaticData={
|
|
|