- Fix some GCC 4.7.1 warnings.
SVN r3747 (trunk)
This commit is contained in:
parent
f0d60ddcee
commit
fd784b05c2
18 changed files with 38 additions and 37 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue