From 7491793989de7fa2dd68f95d1578ae2301925e24 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 14 Dec 2025 00:20:55 -0500 Subject: [PATCH] Fix two small warnings --- src/k_items.c | 1 + src/y_inter.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/k_items.c b/src/k_items.c index 30b83a4aa..b387aa68d 100644 --- a/src/k_items.c +++ b/src/k_items.c @@ -2563,6 +2563,7 @@ void K_SpawnEggMineBumpEffect(mobj_t *mo) void K_DoEggMineStrip(mobj_t *tmo, mobj_t *inflictor, mobj_t *source) { + (void)source; if (inflictor && (inflictor->type == MT_LANDMINE || inflictor->type == MT_EGGMINE)) { if (tmo->player) diff --git a/src/y_inter.c b/src/y_inter.c index 9932bc09c..51b1f7a97 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -415,11 +415,11 @@ void Y_IntermissionDrawer(void) if (intertype == int_none || rendermode == render_none) return; - INT32 w = (vid.width / vid.dupx); - INT32 h = (vid.height / vid.dupy); + //INT32 w = (vid.width / vid.dupx); + //INT32 h = (vid.height / vid.dupy); - const INT32 vidxdiff = (w - BASEVIDWIDTH) / 2; - const INT32 vidydiff = (h - BASEVIDHEIGHT) / 2; + //const INT32 vidxdiff = (w - BASEVIDWIDTH) / 2; + //const INT32 vidydiff = (h - BASEVIDHEIGHT) / 2; if (!useinterpic && y_screenbuffer == NULL #ifdef HWRENDER