From: Holger Schemel Date: Sun, 17 Feb 2019 21:11:12 +0000 (+0100) Subject: fixed compiler warning X-Git-Tag: 4.1.2.0~3 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=6cb445fa1f8aea1bafe3d66b961ddbe3c049769a;p=rocksndiamonds.git fixed compiler warning --- diff --git a/src/screens.c b/src/screens.c index 7b25e79f..bf9f0a96 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1938,7 +1938,7 @@ void HandleMainMenu(int mx, int my, int dx, int dy, int button) static boolean button_pressed_last = FALSE; boolean button_pressed = FALSE; int pos = choice; - int i; + int i = 0; // needed to prevent compiler warning due to bad code below if (button == MB_MENU_INITIALIZE) {