Assert for impossible case

This commit is contained in:
Dmitry-Me 2015-03-14 17:14:00 +03:00
parent 0f922e7c9a
commit 33bb764d12
1 changed files with 2 additions and 1 deletions

View File

@ -338,8 +338,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 );
}
}