From 8dcdbecf0c9937dc5e28935b25c84fbd599f07b6 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 21 Dec 2023 09:01:27 +0100 Subject: [PATCH] fix may be unitialized warning --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 439d08b9c..d56bc94ac 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -2314,7 +2314,7 @@ void HWR_ProcessSeg(void) // Sort of like GLWall::Process in GZDoom { ffloor_t * rover; fixed_t highcut = 0, lowcut = 0; - fixed_t lowcutslope, highcutslope; + fixed_t lowcutslope = 0, highcutslope = 0; // Used for height comparisons and etc across FOFs and slopes fixed_t high1, highslope1, low1, lowslope1;