commit | 245bee08d66cd25ef7cb953d0f6d768447aee48a | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Sun Mar 15 16:14:12 2015 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Sun Mar 15 16:14:12 2015 -0700 |
tree | c8bbcf42fff34d9cc2394565c5477b86b6178831 | |
parent | 80647bde2ec8c3cdc374e6d020a6adbc85ae4497 [diff] | |
parent | 33bb764d12ac0e592c6ecbd1dea0c6ce14844add [diff] |
Merge pull request #296 from Dmitry-Me/assertForImpossibleCase Assert for impossible case
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 91aa756..6d8573b 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -346,8 +346,9 @@ case 1: --output; *output = (char)(input | FIRST_BYTE_MARK[*length]); - default: break; + default: + TIXMLASSERT( false ); } }