- fixed GCC warnings and errors

(Is there anyway to tone down GCC's warning level? It outputs too many false positives for potentially uninitialized variables in which the genuine errors get drowned.)
This commit is contained in:
Christoph Oelckers 2017-03-11 19:02:00 +01:00
commit 921abc404d
21 changed files with 45 additions and 27 deletions

View file

@ -166,6 +166,10 @@ namespace swrenderer
// Get the top and bottom clipping arrays
switch (decal->RenderFlags & RF_CLIPMASK)
{
default:
// keep GCC quiet.
return;
case RF_CLIPFULL:
if (curline->backsector == NULL)
{