]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/bspfile.c
Remove -Wno-unused-but-set-variable
[xonotic/netradiant.git] / tools / quake3 / common / bspfile.c
index 9214550a8a517452aea9e26c0aaf782850c2ab8a..8bc0fc8d6b2eb0ddddfb1e803bb386cd301e49a2 100644 (file)
@@ -294,10 +294,7 @@ void SwapBSPFile( void ) {
    =============
  */
 int GetLumpElements( dheader_t  *header, int lump, int size ) {
-       int length, ofs;
-
-       length = header->lumps[lump].filelen;
-       ofs = header->lumps[lump].fileofs;
+       int length = header->lumps[lump].filelen;
 
        if ( length % size ) {
                Error( "LoadBSPFile: odd lump size" );