Bug 1235233 - Fix -Wimplicit-fallthrough warning in intl/uconv/. r=emk

intl/uconv/ucvja/nsJapaneseToUnicode.cpp:340:11 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
This commit is contained in:
Chris Peterson 2015-11-22 22:11:12 -08:00
parent 82e23fb949
commit 6c253164e7

View File

@ -336,6 +336,7 @@ NS_IMETHODIMP nsEUCJPToUnicodeV2::Convert(
break;
}
// else fall through to error handler
MOZ_FALLTHROUGH;
}
case 5: // two bytes undefined
{
@ -371,8 +372,6 @@ error1:
return NS_OK_UDEC_MOREOUTPUT;
}
NS_IMETHODIMP nsISO2022JPToUnicodeV2::Convert(
const char * aSrc, int32_t * aSrcLen,
char16_t * aDest, int32_t * aDestLen)