mirror of https://github.com/PCSX2/pcsx2.git
PAD: Fix variable is assigned a value that is never used warnings.
Codacy.
This commit is contained in:
parent
8b01fb0bcf
commit
fbc4a5cac2
|
@ -836,17 +836,15 @@ struct QueryInfo
|
||||||
|
|
||||||
s32 PADinit()
|
s32 PADinit()
|
||||||
{
|
{
|
||||||
const u32 flags = 3;
|
|
||||||
// Note: Won't load settings if already loaded.
|
// Note: Won't load settings if already loaded.
|
||||||
if (LoadSettings() < 0)
|
if (LoadSettings() < 0)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
int port = (flags & 3);
|
|
||||||
|
|
||||||
for (int i = 2; i > 0; i--)
|
for (int i = 2; i > 0; i--)
|
||||||
{
|
{
|
||||||
port = i;
|
int port = i;
|
||||||
port--;
|
port--;
|
||||||
|
|
||||||
for (int slot = 0; slot < 4; slot++)
|
for (int slot = 0; slot < 4; slot++)
|
||||||
|
|
Loading…
Reference in New Issue