Skip to content

Commit

Permalink
initialize automatic joystick event structure variable
Browse files Browse the repository at this point in the history
  • Loading branch information
smcameron committed Nov 12, 2013
1 parent a7a485e commit 45d3662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snis_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2322,7 +2322,7 @@ static void deal_with_joystick()

#define FRAME_RATE_HZ 30
static const int joystick_throttle = (int) ((FRAME_RATE_HZ / 15.0) + 0.5);
static struct wwvi_js_event jse;
static struct wwvi_js_event jse = { { 0 } };
int i, rc;

if (joystick_fd < 0) /* no joystick */
Expand Down

0 comments on commit 45d3662

Please sign in to comment.