Skip to content

Commit

Permalink
Merge pull request #610 from Ziemas/input-err-fix
Browse files Browse the repository at this point in the history
input: Fix uninitialized use.
  • Loading branch information
uyjulian authored May 8, 2024
2 parents 6708191 + 2dcfd21 commit 4b27a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/input/src/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pad_t *pad_open(unsigned int port, unsigned int slot, unsigned int mode, unsigne
}

#ifdef _XINPUT
if (mtapGetConnection(pad->port))
if (mtapGetConnection(port))
{
// there are only four slots
if (slot > 3)
Expand Down

0 comments on commit 4b27a27

Please sign in to comment.