From a507dce84c234da15e0980b14f7ea29808e1ed25 Mon Sep 17 00:00:00 2001
From: Lactozilla <jp6781615@gmail.com>
Date: Tue, 20 Feb 2024 00:45:56 -0300
Subject: [PATCH] Fix build warning

---
 src/hardware/hw_segs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hardware/hw_segs.c b/src/hardware/hw_segs.c
index 864675e1df..f184eee9a5 100644
--- a/src/hardware/hw_segs.c
+++ b/src/hardware/hw_segs.c
@@ -493,7 +493,7 @@ static void HWR_ProcessTwoSidedSegMiddle(FOutVector *wallVerts, gl_seg_bounds *b
 	fixed_t polytop, polytopslope, polybottom, polybottomslope;
 	fixed_t lowcut, highcut, lowcutslope, highcutslope;
 	fixed_t texturevpeg = 0, texheight = 0, midtexheight = 0;
-	INT32 repeats;
+	INT32 repeats = 0;
 
 	Surf.PolyColor.s.alpha = 255;
 
-- 
GitLab