diff --git a/src/g_game.c b/src/g_game.c
index 08ea0274ec61ad64dc4176309323829496b463dc..62fa797d34170eaf51695d47eaf8b65fa6a6eeef 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -655,6 +655,8 @@ static void G_UpdateRecordReplays(void)
 // for consistency among messages: this marks the game as modified.
 void G_SetGameModified(boolean silent, boolean major)
 {
+	(void)silent;
+
 	if ((majormods && modifiedgame) || !mainwads || (refreshdirmenu & REFRESHDIR_GAMEDATA)) // new gamedata amnesty?
 		return;