mirror of https://github.com/PCSX2/pcsx2.git
Input: Fix opposite inner 'if' condition leads to a dead code block warning.
Codacy.
This commit is contained in:
parent
2a9c379a1c
commit
6bd1209146
|
@ -584,8 +584,6 @@ bool SDLInputSource::OpenDevice(int index, bool is_gamecontroller)
|
|||
if (!gcontroller && !joystick)
|
||||
{
|
||||
Console.Error("(SDLInputSource) Failed to open controller %d", index);
|
||||
if (gcontroller)
|
||||
SDL_GameControllerClose(gcontroller);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue