unneeded local variable warning removed

This commit is contained in:
Arthur Ice 2014-03-26 17:28:25 -07:00
parent 70f1bbbdad
commit a39c58b653

View File

@ -31,13 +31,8 @@ int Zonv4Loader::Open(char *base_path, char *zone_name, Archive *archive)
int position;
int buf_len;
Texture **tex;
int tex_count, tex_tmp, *tex_map;
char *filename;
uchar *zon_tmp, *zon_orig;
float rot_change = 180.0f / 3.14159f;
printf("Attempting to load EQG %s\n", zone_name);
@ -59,8 +54,6 @@ int Zonv4Loader::Open(char *base_path, char *zone_name, Archive *archive)
zonv4_header *hdr = (zonv4_header *) buffer;
zonv4_placeable *plac;
if(hdr->magic[0] != 'E' || hdr->magic[1] != 'Q' || hdr->magic[2] != 'T' || hdr->magic[3] != 'Z')
return 0;
#ifdef DEBUGEQG