mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #296 from Dmitry-Me/assertForImpossibleCase
Assert for impossible case
This commit is contained in:
commit
245bee08d6
|
@ -346,8 +346,9 @@ void XMLUtil::ConvertUTF32ToUTF8( unsigned long input, char* output, int* length
|
|||
case 1:
|
||||
--output;
|
||||
*output = (char)(input | FIRST_BYTE_MARK[*length]);
|
||||
default:
|
||||
break;
|
||||
default:
|
||||
TIXMLASSERT( false );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue