diff options
author | 2017-08-07 05:03:18 +0200 | |
---|---|---|
committer | 2017-08-06 23:12:05 -0400 | |
commit | a40b67691aecfe9b31c3e8babf8e94d8d1a187a1 (patch) | |
tree | 042b52891f92ee1bb991de01cec51fb49a9f10ee /src/terminal/terminal.cc | |
parent | 93daa5ac3bae003084ce620e885ae6b48286ef27 (diff) |
Remove various assert(constant) calls
These cause warnings from static checkers, and seem to lead to spurious
GCC7 -Wmaybe-uninitialized.
Diffstat (limited to 'src/terminal/terminal.cc')
-rw-r--r-- | src/terminal/terminal.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/terminal/terminal.cc b/src/terminal/terminal.cc index af7d2bf..91fa9f6 100644 --- a/src/terminal/terminal.cc +++ b/src/terminal/terminal.cc @@ -140,9 +140,7 @@ void Emulator::print( const Parser::Print *act ) } break; case -1: /* unprintable character */ - break; - default: - assert( false ); + default: /* bogus width, ignore */ break; } } |