mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #3370 from rohit-n/warnings
Silence -Wshadow and -Wmaybe-uninitialized warnings.
This commit is contained in:
commit
4c62a5c0a4
@ -60,7 +60,10 @@ void CBoot::Load_FST(bool _bIsWii)
|
||||
if (_bIsWii)
|
||||
shift = 2;
|
||||
|
||||
u32 fst_offset, fst_size, max_fst_size;
|
||||
u32 fst_offset = 0;
|
||||
u32 fst_size = 0;
|
||||
u32 max_fst_size = 0;
|
||||
|
||||
volume.ReadSwapped(0x0424, &fst_offset, _bIsWii);
|
||||
volume.ReadSwapped(0x0428, &fst_size, _bIsWii);
|
||||
volume.ReadSwapped(0x042c, &max_fst_size, _bIsWii);
|
||||
|
@ -128,7 +128,7 @@ static std::unique_ptr<IVolume> CreateVolumeFromCryptedWiiImage(std::unique_ptr<
|
||||
|
||||
struct SPartition
|
||||
{
|
||||
SPartition(u64 offset, u32 type) : offset(offset), type(type) {}
|
||||
SPartition(u64 offset_, u32 type_) : offset(offset_), type(type_) {}
|
||||
|
||||
u64 offset;
|
||||
u32 type;
|
||||
|
Loading…
Reference in New Issue
Block a user