From 0aaae501d379ee8526d190634e8af02ce4e8d1e8 Mon Sep 17 00:00:00 2001
From: Sryder <sryder13@gmail.com>
Date: Fri, 30 Mar 2018 18:53:23 +0100
Subject: [PATCH] Warnings must die

---
 src/f_finale.c         | 2 +-
 src/hardware/hw_main.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/f_finale.c b/src/f_finale.c
index cd699b6cb6..958bef0f66 100644
--- a/src/f_finale.c
+++ b/src/f_finale.c
@@ -234,7 +234,7 @@ static void F_SkyScroll(INT32 scrollspeed)
 	else if (rendermode != render_none)
 	{ // if only software rendering could be this simple and retarded
 		INT32 dupz = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy);
-		INT32 x, y, pw = SHORT(pat->width) * dupz, ph = SHORT(pat->height) * dupz;
+		INT32 y, pw = SHORT(pat->width) * dupz, ph = SHORT(pat->height) * dupz;
 		scrolled = animtimer * dupz;
 		for (x = 0; x < vid.width; x += pw)
 		{
diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c
index 16587e5db5..becd1b1c2f 100644
--- a/src/hardware/hw_main.c
+++ b/src/hardware/hw_main.c
@@ -5055,7 +5055,7 @@ static void HWR_CreateDrawNodes(void)
 // --------------------------------------------------------------------------
 #ifdef SORTING
 // added the stransform so they can be switched as drawing happenes so MD2s and sprites are sorted correctly with each other
-static void HWR_DrawSprites()
+static void HWR_DrawSprites(void)
 {
 	if (gr_visspritecount > 0)
 	{
-- 
GitLab