Merge pull request #893 from rohitnirmal/scan-build-fixes

Scan build fixes
This commit is contained in:
shuffle2
2014-09-02 23:15:18 -07:00
4 changed files with 4 additions and 5 deletions

View File

@ -22,7 +22,7 @@ namespace DiscIO
CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume)
{
u64 TitleID;
u64 TitleID = 0;
pVolume->GetTitleID((u8*)&TitleID);
TitleID = Common::swap64(TitleID);

View File

@ -156,7 +156,7 @@ u64 CVolumeGC::GetRawSize() const
bool CVolumeGC::IsDiscTwo() const
{
bool discTwo;
bool discTwo = false;
Read(6,1, (u8*) &discTwo);
return discTwo;
}