From ed415c1fa0f30b93bda6f1daaffe1afdf194f970 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 18 Oct 2019 17:55:02 +0200 Subject: [PATCH] - silenced a few warnings. --- source/rr/src/actors.cpp | 2 +- source/sw/src/config.cpp | 12 ++++++------ source/sw/src/rts.cpp | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/rr/src/actors.cpp b/source/rr/src/actors.cpp index f485e70f7..b18b5eaff 100644 --- a/source/rr/src/actors.cpp +++ b/source/rr/src/actors.cpp @@ -1875,7 +1875,7 @@ ACTOR_STATIC void G_MoveStandables(void) pSprite->ang = oldAng; // we're on a trip wire - int16_t cursectnum; + //int16_t cursectnum; while (hitDist > 0) { diff --git a/source/sw/src/config.cpp b/source/sw/src/config.cpp index 6bdfcfc27..4759b92d6 100644 --- a/source/sw/src/config.cpp +++ b/source/sw/src/config.cpp @@ -205,8 +205,8 @@ const char *CONFIG_AnalogNumToName(int32_t func) void CONFIG_SetDefaults(void) { // JBF 20031211 - int32_t i,f; - uint8_t k1,k2; + int32_t i;// , f; + //uint8_t k1,k2; ScreenMode = 1; @@ -432,7 +432,7 @@ void CONFIG_ReadKeys(int32_t scripthandle) void CONFIG_SetupMouse(void) { int32_t i; - char str[80],*p; + char str[80];// , * p; char temp[80]; int32_t function, scale; @@ -501,9 +501,9 @@ void CONFIG_SetupMouse(void) void CONFIG_SetupJoystick(void) { int32_t i; - char str[80],*p; + char str[80];// , * p; char temp[80]; - int32_t function, scale; + int32_t /*function,*/ scale; if (scripthandle < 0) return; @@ -577,7 +577,7 @@ void CONFIG_SetupJoystick(void) int32_t CONFIG_ReadSetup(void) { int32_t dummy; - char ret; + //char ret; extern char ds[]; extern char PlayerNameArg[32]; diff --git a/source/sw/src/rts.cpp b/source/sw/src/rts.cpp index 730e463ad..9fbebcc59 100644 --- a/source/sw/src/rts.cpp +++ b/source/sw/src/rts.cpp @@ -192,7 +192,7 @@ void RTS_Init(char *filename) void RTS_Shutdown(void) { - int32_t i; + //int32_t i; if (lumpcache) {