shithub: rott

Download patch

ref: 94bfab3392221553ac1114794bf8994baaf982cd
parent: e8b964dec4f3784e197691aba04e78b1db4f939f
author: Marc-Alexandre Espiaut <[email protected]>
date: Tue Jun 5 07:54:17 EDT 2018

Removing unused but set variables in rt_build.c

--- a/rott/rt_build.c
+++ b/rott/rt_build.c
@@ -866,7 +866,6 @@
     int plane;
     int pixel;
     byte *shape;
-    byte *src;
     pic_t *p;
 
     if (MenuBufStarted==false)
@@ -884,7 +883,6 @@
 
     buffer = (byte*)menubuf+(x*TEXTUREHEIGHT)+y;
 
-    src=(byte *)&p->data;
     for (plane=0; plane<4; plane++,buffer+=TEXTUREHEIGHT)
     {
         for (yy = 0; yy < p->height; yy++)