- Fix some GCC 4.7.1 warnings.

SVN r3747 (trunk)
This commit is contained in:
Randy Heit 2012-07-07 03:43:11 +00:00
commit fd784b05c2
18 changed files with 38 additions and 37 deletions

View file

@ -71,10 +71,10 @@ protected:
FTexture *EmptyTexture_TryCreate(FileReader & file, int lumpnum)
{
char check[8];
if (file.GetLength() != 8) return false;
if (file.GetLength() != 8) return NULL;
file.Seek(0, SEEK_SET);
if (file.Read(check, 8) != 8) return false;
if (memcmp(check, "\0\0\0\0\0\0\0\0", 8)) return false;
if (file.Read(check, 8) != 8) return NULL;
if (memcmp(check, "\0\0\0\0\0\0\0\0", 8)) return NULL;
return new FEmptyTexture(lumpnum);
}