Resolve cppcheck issues.

Signed-off-by: John Hood <cgull@glup.org>
This commit is contained in:
John Hood
2015-03-30 22:17:05 -04:00
parent c064ec1946
commit 026a3f0346
11 changed files with 23 additions and 22 deletions
+1
View File
@@ -76,6 +76,7 @@ Parser::UTF8Parser::UTF8Parser()
: parser(), buf_len( 0 )
{
assert( BUF_SIZE >= (size_t)MB_CUR_MAX );
buf[0] = '\0';
}
std::list<Parser::Action *> Parser::UTF8Parser::input( char c )