projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bdedff
)
fixed compiler warning
author
Holger Schemel
<info@artsoft.org>
Sun, 17 Feb 2019 21:11:12 +0000
(22:11 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 17 Feb 2019 21:11:12 +0000
(22:11 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 7b25e79f2103cd77611c5345e9925fd8453ad05b..bf9f0a966348c1a9a9b4a82e764287ef8fed4c69 100644
(file)
--- 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)
{