diff --git a/src/terminal/parser.cc b/src/terminal/parser.cc index 32bd5b8..1a9acc5 100644 --- a/src/terminal/parser.cc +++ b/src/terminal/parser.cc @@ -104,9 +104,6 @@ std::list Parser::UTF8Parser::input( char c ) /* this returns 0 when n = 0! */ - /* This function annoying returns a size_t so we have to check - the negative values first before the "> 0" branch */ - if ( bytes_parsed == 0 ) { /* character was NUL, accept and clear buffer */ assert( buf_len == 1 );