diff --git a/src/derep_prefix.cc b/src/derep_prefix.cc index 92d0a251..54e10ddd 100644 --- a/src/derep_prefix.cc +++ b/src/derep_prefix.cc @@ -120,14 +120,11 @@ auto derep_compare_prefix(const void * a, const void * b) -> int { return -1; } - else if (lhs->seqno_first > rhs->seqno_first) + if (lhs->seqno_first > rhs->seqno_first) { return +1; } - else - { - return 0; - } + return 0; }