mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
VolumeWad: Remove useless else after return
This commit is contained in:
parent
2cd287baf7
commit
f89aaee91a
@ -154,18 +154,12 @@ BlobType CVolumeWAD::GetBlobType() const
|
||||
|
||||
u64 CVolumeWAD::GetSize() const
|
||||
{
|
||||
if (m_reader)
|
||||
return m_reader->GetDataSize();
|
||||
else
|
||||
return 0;
|
||||
return m_reader ? m_reader->GetDataSize() : 0;
|
||||
}
|
||||
|
||||
u64 CVolumeWAD::GetRawSize() const
|
||||
{
|
||||
if (m_reader)
|
||||
return m_reader->GetRawSize();
|
||||
else
|
||||
return 0;
|
||||
return m_reader ? m_reader->GetRawSize() : 0;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user