diff --git a/src/w_wad.c b/src/w_wad.c index 5bf7a36d34b8709525818e427a3e0b74bf9911e9..8641cf1168ea1008391be387ef81a6c780b13033 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -334,7 +334,6 @@ static restype_t ResourceFileDetect (const char* filename) static lumpinfo_t* ResGetLumpsStandalone (FILE* handle, UINT16* numlumps, const char* lumpname) { lumpinfo_t* lumpinfo = Z_Calloc(sizeof (*lumpinfo), PU_STATIC, NULL); - lumpinfo = Z_Calloc(sizeof (*lumpinfo), PU_STATIC, NULL); lumpinfo->position = 0; fseek(handle, 0, SEEK_END); lumpinfo->size = ftell(handle);