From 0ed2419ca3e44aa77a1a6f26c95ed6035ff41c6c Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 16 Feb 2011 10:47:47 +0000 Subject: [PATCH] fix an unused variable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10848 d7cf8633-e32d-0410-b094-e92efae38249 --- dpsoftrast.c | 2 -- 1 file changed, 2 deletions(-) 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) { -- 2.39.2