Skip to content

Commit

Permalink
readability-else-after-return
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Jan 2, 2025
1 parent 8b6eecf commit a112de0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/derep_prefix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit a112de0

Please sign in to comment.