mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
HPL1: Fix GCC Compiler Fallthrough Warnings in TinyXML Parser Code
These are intended as per the earlier comment.
This commit is contained in:
parent
941946918e
commit
4f35777b7c
@ -107,17 +107,21 @@ void TiXmlBase::ConvertUTF32ToUTF8(unsigned long input, char *output, int *lengt
|
||||
--output;
|
||||
*output = (char)((input | BYTE_MARK) & BYTE_MASK);
|
||||
input >>= 6;
|
||||
// fallthrough
|
||||
case 3:
|
||||
--output;
|
||||
*output = (char)((input | BYTE_MARK) & BYTE_MASK);
|
||||
input >>= 6;
|
||||
// fallthrough
|
||||
case 2:
|
||||
--output;
|
||||
*output = (char)((input | BYTE_MARK) & BYTE_MASK);
|
||||
input >>= 6;
|
||||
// fallthrough
|
||||
case 1:
|
||||
--output;
|
||||
*output = (char)(input | FIRST_BYTE_MARK[*length]);
|
||||
// fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user