From: divverent Date: Wed, 16 Feb 2011 10:47:47 +0000 (+0000) Subject: fix an unused variable X-Git-Tag: xonotic-v0.5.0~425^2~53 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=0ed2419ca3e44aa77a1a6f26c95ed6035ff41c6c;ds=sidebyside fix an unused variable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10848 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/dpsoftrast.c b/dpsoftrast.c index 1e9722b5..f8785982 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -1150,7 +1150,6 @@ void DPSOFTRAST_GetPixelsBGRA(int blockx, int blocky, int blockwidth, int blockh int bx2 = blockx + blockwidth; int by2 = blocky + blockheight; int bw; - int bh; int x; int y; unsigned char *inpixels; @@ -1162,7 +1161,6 @@ void DPSOFTRAST_GetPixelsBGRA(int blockx, int blocky, int blockwidth, int blockh if (bx2 > dpsoftrast.fb_width) bx2 = dpsoftrast.fb_width; if (by2 > dpsoftrast.fb_height) by2 = dpsoftrast.fb_height; bw = bx2 - bx1; - bh = by2 - by1; inpixels = (unsigned char *)dpsoftrast.fb_colorpixels[0]; if (dpsoftrast.bigendian) {