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
+1 -2
View File
@@ -173,9 +173,8 @@ int Complete::wait_time( uint64_t now ) const
uint64_t next_echo_ack_time = it->second + ECHO_TIMEOUT;
if ( next_echo_ack_time <= now ) {
return 0;
} else {
return next_echo_ack_time - now;
}
return next_echo_ack_time - now;
}
bool Complete::compare( const Complete &other ) const