shithub: rott

Download patch

ref: 2d518693944e97681771e886d1971473b4f3b9b4
parent: 565ba2ea94afe443f61b4cbb48a7d16673829b8b
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Mon Jun 4 10:40:44 EDT 2018

Removing unused variables from rt_draw.c

--- a/rott/rt_draw.c
+++ b/rott/rt_draw.c
@@ -2443,7 +2443,6 @@
     byte * shape2;
     byte * buf;
     patch_t *p;
-    int pl;
 
     whereami=18;
     dx=(plane->x2-plane->x1+1);
@@ -2532,7 +2531,6 @@
     transpatch_t *p;
     patch_t *p2;
     patch_t *p3;
-    int pl;
     boolean drawbottom,drawmiddle,drawtop;
     int topoffset;
 
@@ -2969,9 +2967,6 @@
 
 //   int Xres = 320;//org
 //   int Yres = 200;//org
-    int   Xres =   iGLOBAL_SCREENWIDTH;
-    int   Yres = iGLOBAL_SCREENHEIGHT;
-
 
     iG_masked = masked;