/*
******************************************************************************
*
-* Copyright (C) 2000-2014, International Business Machines
+* Copyright (C) 2000-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
const UConverterSharedData _MBCSData={
sizeof(UConverterSharedData), 1,
- NULL, NULL, NULL, FALSE, &_MBCSImpl,
+ NULL, NULL, FALSE, TRUE, &_MBCSImpl,
0, UCNV_MBCS_TABLE_INITIALIZER
};
switch(st3Multiplier) {
case 4:
b|=*stage3++;
- case 3: /*fall through*/
+ U_FALLTHROUGH;
+ case 3:
b|=*stage3++;
- case 2: /*fall through*/
+ U_FALLTHROUGH;
+ case 2:
b|=stage3[0]|stage3[1];
stage3+=2;
+ U_FALLTHROUGH;
default:
break;
}
/* each branch falls through to the next one */
case 4:
*target++=(uint8_t)(value>>24);
- case 3: /*fall through*/
+ U_FALLTHROUGH;
+ case 3:
*target++=(uint8_t)(value>>16);
- case 2: /*fall through*/
+ U_FALLTHROUGH;
+ case 2:
*target++=(uint8_t)(value>>8);
- case 1: /*fall through*/
+ U_FALLTHROUGH;
+ case 1:
*target++=(uint8_t)value;
+ U_FALLTHROUGH;
default:
/* will never occur */
break;
case 4:
*target++=(uint8_t)(value>>24);
*offsets++=sourceIndex;
- case 3: /*fall through*/
+ U_FALLTHROUGH;
+ case 3:
*target++=(uint8_t)(value>>16);
*offsets++=sourceIndex;
- case 2: /*fall through*/
+ U_FALLTHROUGH;
+ case 2:
*target++=(uint8_t)(value>>8);
*offsets++=sourceIndex;
- case 1: /*fall through*/
+ U_FALLTHROUGH;
+ case 1:
*target++=(uint8_t)value;
*offsets++=sourceIndex;
+ U_FALLTHROUGH;
default:
/* will never occur */
break;
/* each branch falls through to the next one */
case 3:
*charErrorBuffer++=(uint8_t)(value>>16);
- case 2: /*fall through*/
+ U_FALLTHROUGH;
+ case 2:
*charErrorBuffer++=(uint8_t)(value>>8);
- case 1: /*fall through*/
+ U_FALLTHROUGH;
+ case 1:
*charErrorBuffer=(uint8_t)value;
+ U_FALLTHROUGH;
default:
/* will never occur */
break;
if(offsets!=NULL) {
*offsets++=sourceIndex;
}
- case 2: /*fall through*/
+ U_FALLTHROUGH;
+ case 2:
*target++=(uint8_t)(value>>8);
if(offsets!=NULL) {
*offsets++=sourceIndex;
}
- case 1: /*fall through*/
+ U_FALLTHROUGH;
+ case 1:
*target++=(uint8_t)value;
if(offsets!=NULL) {
*offsets++=sourceIndex;
}
+ U_FALLTHROUGH;
default:
/* will never occur */
break;