Eliminate unnecessary, trailing else conditional blocks.

This commit is contained in:
John Hood
2016-11-07 00:43:33 -05:00
parent 43785eb820
commit b1a6f7c144
7 changed files with 38 additions and 50 deletions
+4 -5
View File
@@ -226,12 +226,11 @@ void Dispatcher::dispatch( Function_Type type, const Parser::Action *act, Frameb
/* unknown function */
fb->ds.next_print_will_wrap = false;
return;
} else {
if ( i->second.clears_wrap_state ) {
fb->ds.next_print_will_wrap = false;
}
return i->second.function( fb, this );
}
if ( i->second.clears_wrap_state ) {
fb->ds.next_print_will_wrap = false;
}
i->second.function( fb, this );
}
void Dispatcher::OSC_put( const Parser::OSC_Put *act )