mirror of
https://github.com/taglib/taglib.git
synced 2025-10-04 18:45:19 -04:00
clang-tidy: don't use else after return
Found with readability-else-after-return Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@ -41,8 +41,7 @@ namespace
|
||||
{
|
||||
if(page->header()->lastPacketCompleted())
|
||||
return page->firstPacketIndex() + page->packetCount();
|
||||
else
|
||||
return page->firstPacketIndex() + page->packetCount() - 1;
|
||||
return page->firstPacketIndex() + page->packetCount() - 1;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
Reference in New Issue
Block a user