]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/imagehl/mip.cpp
Remove -Wno-unused-but-set-variable
[xonotic/netradiant.git] / plugins / imagehl / mip.cpp
index 51dbfd7e916409764e448fc21e1f169bd2873534..a9d5a71bf1ad79d32d7850a0e8addd0a5877a3fa 100644 (file)
@@ -138,7 +138,6 @@ static const byte quakepalette[768] =
 Image* LoadMIPBuff( byte* buffer ){
        byte *buf_p;
        int palettelength;
-       unsigned long mipdatasize;
        int columns, rows, numPixels;
        byte *pixbuf;
        int i;
@@ -158,7 +157,7 @@ Image* LoadMIPBuff( byte* buffer ){
                return 0;
        }
 
-       mipdatasize = GET_MIP_DATA_SIZE( columns, rows );
+//     unsigned long mipdatasize = GET_MIP_DATA_SIZE( columns, rows );
 
        palettelength = vfsLoadFile( "gfx/palette.lmp", (void **) &loadedpalette );
        if ( palettelength == 768 ) {