From e7c40dd91405ee8a3647351e4e0eb9851e5f9386 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 15 Aug 2025 09:59:37 +0200 Subject: [PATCH] fix -Wunused-value warnings we dont do anything with this, so just skip both --- src/g_demo.c | 4 ++-- src/g_game.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/g_demo.c b/src/g_demo.c index 33957fb67..389677e24 100644 --- a/src/g_demo.c +++ b/src/g_demo.c @@ -2729,9 +2729,9 @@ void G_LoadDemoTitle(menudemo_t *pdemo) } info_p += 12; // DEMOHEADER + info_p++; // VERSION + info_p++; // SUBVERSION - READUINT8(info_p); - READUINT8(info_p); pdemoversion = READUINT16(info_p); memset(pdemo->date, 0, sizeof(pdemo->date)); diff --git a/src/g_game.c b/src/g_game.c index caa021ccf..4a0f6e198 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1244,7 +1244,7 @@ static void G_DoLoadLevel(boolean resetplayer) } // Setup the level. - if (!P_SetupLevel(false,false)) + if (!P_SetupLevel(false, false)) { // fail so reset game stuff Command_ExitGame_f();