mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Fix the majority of the compiler warnings unearthed by the addition of
the new warning flags.
This commit is contained in:
parent
18e69acc15
commit
0ffdd2607f
11 changed files with 76 additions and 77 deletions
|
@ -129,10 +129,10 @@ bool CVolumeWAD::GetWName(std::vector<std::wstring>& _rwNames) const
|
|||
_rwNames.push_back(L"");
|
||||
continue;
|
||||
}
|
||||
for (int i = 0; i < 42; ++i)
|
||||
for (int j = 0; j < 42; ++j)
|
||||
{
|
||||
u16 t = Common::swap16(temp[i]);
|
||||
if (t == 0 && i > 0)
|
||||
u16 t = Common::swap16(temp[j]);
|
||||
if (t == 0 && j > 0)
|
||||
{
|
||||
if (out_temp.at(out_temp.size()-1) != ' ')
|
||||
out_temp.push_back(' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue