From 5df6c84e44cee231f11c2b886a9a73784bd10a54 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 3 Feb 2018 01:17:04 +0100 Subject: [PATCH] fixed compiler warning about uninitialized local variable --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index 7255cdc5..6c150ea0 100644 --- a/src/files.c +++ b/src/files.c @@ -3830,7 +3830,7 @@ static void CopyNativeTape_SP_to_RND(struct LevelInfo *level) int tape_action = map_key_SP_to_RND(demo_action); int tape_repeat = demo_repeat + 1; byte action[MAX_PLAYERS] = { tape_action, 0, 0, 0 }; - boolean success; + boolean success = 0; int j; for (j = 0; j < tape_repeat; j++) -- 2.34.1