diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index 6eda50262..860a153bc 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -88,7 +88,7 @@ endif BASECFLAGS=$(debug) -W -Wall -Wimplicit -Werror-implicit-function-declaration \ -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 \ - $(F_JUMP_TABLES) + $(F_JUMP_TABLES) -Wno-unused-result BASECXXFLAGS= -fno-exceptions -fno-rtti BASEASFLAGS=-s #-g diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index fec2f5341..8c2dc487f 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -1917,7 +1917,7 @@ void overheadeditor(void) dabuffer = (char *)ExtGetSectorCaption(i); if (dabuffer[0] != 0) { - int32_t vdisp; + int32_t vdisp = 0; dax = 0; //Get average point of sector day = 0; diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 8010f06ae..7d20f5413 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -3698,6 +3698,8 @@ static void polymer_drawmdsprite(spritetype *tspr) spos[0] = (float)tspr->y; spos[1] = -(float)(tspr->z) / 16.0f; spos[2] = -(float)tspr->x; + + spos2[0] = spos2[1] = spos2[2] = 0.0f; } ang = (float)((tspr->ang+spriteext[tspr->owner].angoff) & 2047) / (2048.0f / 360.0f); diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 3d80f853c..e8637f006 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -1654,7 +1654,7 @@ int32_t gloadtile_hi(int32_t dapic,int32_t dapalnum, int32_t facen, hicreplctyp static char *lastfn = NULL; static int32_t lastsize = 0; - int32_t startticks, didprint=0; + int32_t startticks=0, didprint=0; if (!hicr) return -1; if (facen > 0) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index f1f341e72..d2e624209 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -7065,6 +7065,7 @@ static void Keys2d(void) { case 0: printmessage16("MAP LIMITS EXCEEDED!"); + x = y = z = 0; break; case CORRUPT_SECTOR: i = k&(MAXSECTORS-1); @@ -7089,6 +7090,7 @@ static void Keys2d(void) break; default: k = 0; + x = y = z = 0; break; }