mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
82e23fb949
commit
6c253164e7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user