Problem: redundant else after return

Solution: remove else
This commit is contained in:
Simon Giesecke
2019-12-08 15:04:50 +01:00
committed by Simon Giesecke
parent 1d9c6bcf09
commit cb2b377d9f
16 changed files with 49 additions and 53 deletions

View File

@@ -335,9 +335,8 @@ static uint64_t host_to_network (uint64_t value_)
htonl (static_cast<uint32_t> (value_ & 0xFFFFFFFFLL));
return (static_cast<uint64_t> (low_part) << 32) | high_part;
} else {
return value_;
}
return value_;
}
template <size_t N> void send_command (fd_t s_, char (&command_)[N])