From e69b08178f91648e327cff663356fa330f8e7f47 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Tue, 9 May 2017 14:42:06 +0100 Subject: [PATCH] p_floor.c: In function `EV_CrumbleChain': p_floor.c:2932: warning: 'widthfactor' might be used uninitialized in this function p_floor.c:2932: warning: 'heightfactor' might be used uninitialized in this function --- src/p_floor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_floor.c b/src/p_floor.c index cefdc3d4f..68c3d55b8 100644 --- a/src/p_floor.c +++ b/src/p_floor.c @@ -2929,7 +2929,7 @@ void EV_CrumbleChain(sector_t *sec, ffloor_t *rover) fixed_t leftx, rightx; fixed_t topy, bottomy; fixed_t topz, bottomz; - fixed_t widthfactor, heightfactor; + fixed_t widthfactor = FRACUNIT, heightfactor = FRACUNIT; fixed_t a, b, c; mobjtype_t type = MT_ROCKCRUMBLE1; fixed_t spacing = (32<