From: Holger Schemel Date: Wed, 27 Sep 2017 20:04:28 +0000 (+0200) Subject: fixed compiler warning by adding missing variable initialization X-Git-Tag: 4.0.1.0~6 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3d1fd980cdc61187c7f163f69adff7ad814f83a9;p=rocksndiamonds.git fixed compiler warning by adding missing variable initialization --- diff --git a/src/screens.c b/src/screens.c index ba5a2119..0a63c2e4 100644 --- a/src/screens.c +++ b/src/screens.c @@ -6581,6 +6581,8 @@ static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick) axis_x = LoadCustomImage("joystick/axis_x.png"); axis_y = LoadCustomImage("joystick/axis_y.png"); + marker = button; /* initialize with reliable default value */ + bitmaps_initialized = TRUE; }