Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 18, 2001
1 parent 5ba74ba commit 01b66bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/joystick/darwin/SDL_sysjoystick.c
Expand Up @@ -91,7 +91,7 @@ struct joystick_hwdata
recElement* firstButton;
recElement* firstHat;

struct recDevice* pNext; // next device
struct joystick_hwdata* pNext; // next device
};
typedef struct joystick_hwdata recDevice;

Expand Down Expand Up @@ -500,14 +500,14 @@ static recDevice *HIDBuildDevice (io_object_t hidDevice)
}
else
{
DisposePtr(pDevice);
DisposePtr((Ptr)pDevice);
pDevice = NULL;
}
CFRelease (hidProperties);
}
else
{
DisposePtr(pDevice);
DisposePtr((Ptr)pDevice);
pDevice = NULL;
}
}
Expand Down Expand Up @@ -724,7 +724,7 @@ void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick)
i = 0;
while (element)
{
Uint8 pos;
Uint8 pos = 0;

value = HIDGetElementValue(device, element);
switch(value)
Expand Down

0 comments on commit 01b66bb

Please sign in to comment.