From: molivier Date: Thu, 3 Oct 2002 06:36:54 +0000 (+0000) Subject: Removed an unused variable in gl_draw.c (Forest, could you double check this one... X-Git-Tag: RELEASE_0_2_0_RC1~160 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4ff3c4bccdb5774d698ed337d97b8550f693841;p=xonotic%2Fdarkplaces.git Removed an unused variable in gl_draw.c (Forest, could you double check this one please?). Removed an useless include in vid_null.c git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2491 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_draw.c b/gl_draw.c index 717f0b89..7fc4db63 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -370,7 +370,7 @@ int quadelements[768]; void R_DrawQueue(void) { int pos, num, chartexnum, overbright, texnum, additive, batch; - float x, y, w, h, s, t, u, v, cr, cg, cb, ca, *av, *at, *ac; + float x, y, w, h, s, t, u, v, cr, cg, cb, ca, *av, *at; cachepic_t *pic; drawqueue_t *dq; char *str, *currentpic; @@ -498,7 +498,6 @@ void R_DrawQueue(void) av[ 4] = x+w;av[ 5] = y ;av[ 6] = 10; av[ 8] = x+w;av[ 9] = y+h;av[10] = 10; av[12] = x ;av[13] = y+h;av[14] = 10; - ac += 16; at += 8; av += 16; batchcount++; diff --git a/vid_null.c b/vid_null.c index 3492943d..2b232f56 100644 --- a/vid_null.c +++ b/vid_null.c @@ -18,7 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include -#include #include "quakedef.h" int cl_available = false;