]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/imagelib.c
more warnings done. Now q3map2 is warning free apart from libpng deprecation problems.
[xonotic/netradiant.git] / tools / quake3 / common / imagelib.c
index 31e31850bdfb9b141a6f0f943bb0104566058472..b95fe971749b935258406bc4c08261b1ba5f0ed5 100644 (file)
@@ -678,7 +678,6 @@ void LoadBMP (const char *filename, byte **pic, byte **palette, int *width, int
 {
   byte *out;
   int          i;
-  int          bfSize; 
   int          bfOffBits; 
   int          structSize;
   int          bcWidth; 
@@ -701,7 +700,7 @@ void LoadBMP (const char *filename, byte **pic, byte **palette, int *width, int
     Error ("%s is not a bmp file", filename);
   }
 
-  bfSize = bufLittleLong (in, len, &pos);
+  /* bfSize = */ bufLittleLong (in, len, &pos);
   bufLittleShort(in, len, &pos);
   bufLittleShort(in, len, &pos);
   bfOffBits = bufLittleLong (in, len, &pos);