From 92b47f8729cdcb62a96aa1dd0c21e11c62b629b5 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Sun, 11 Aug 2019 22:14:50 +0100 Subject: [PATCH] Fix uninitialised variable error toaster found in P_MinecartThink --- src/p_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 0861398d6..b74cafd21 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -10391,7 +10391,7 @@ static void P_MinecartThink(player_t *player) if (P_IsObjectOnGround(minecart)) { sector_t *sec; - INT32 lnum; + INT32 lnum = -1; fixed_t dummy; // Just hit floor.