]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix an unused variable
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 16 Feb 2011 10:47:47 +0000 (10:47 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 16 Feb 2011 10:47:47 +0000 (10:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10848 d7cf8633-e32d-0410-b094-e92efae38249

dpsoftrast.c

index 1e9722b58545dbc20d3e14a09ca4ec872775ecee..f87859823e92538b45c0a1c4ee67c210d5f057d5 100644 (file)
@@ -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)
        {