Remove various assert(constant) calls

These cause warnings from static checkers, and seem to lead to spurious
GCC7 -Wmaybe-uninitialized.
This commit is contained in:
John Hood
2017-08-07 05:03:18 +02:00
parent 93daa5ac3b
commit a40b67691a
7 changed files with 4 additions and 14 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ namespace Network {
/* interface for Network::Transport */
void subtract( const UserStream *prefix );
string diff_from( const UserStream &existing ) const;
string init_diff( void ) const { assert( false ); return string(); };
string init_diff( void ) const { return string(); };
void apply_string( const string &diff );
bool operator==( const UserStream &x ) const { return actions == x.actions; }