Patched compiler warnings (thanks, Bradley Bell!)
This commit is contained in:
parent
23dcba1970
commit
3a3451c4be
|
@ -321,7 +321,6 @@ static int hog_load_entries(const char *name, int forWriting, HOGinfo *info)
|
||||||
void *fh = NULL;
|
void *fh = NULL;
|
||||||
PHYSFS_uint32 fileCount;
|
PHYSFS_uint32 fileCount;
|
||||||
HOGentry *entry;
|
HOGentry *entry;
|
||||||
char *ptr;
|
|
||||||
|
|
||||||
BAIL_IF_MACRO(!hog_open(name, forWriting, &fh, &fileCount), NULL, 0);
|
BAIL_IF_MACRO(!hog_open(name, forWriting, &fh, &fileCount), NULL, 0);
|
||||||
info->entryCount = fileCount;
|
info->entryCount = fileCount;
|
||||||
|
|
|
@ -288,7 +288,6 @@ static int mvl_load_entries(const char *name, int forWriting, MVLinfo *info)
|
||||||
PHYSFS_uint32 fileCount;
|
PHYSFS_uint32 fileCount;
|
||||||
PHYSFS_uint32 location = 8; /* sizeof sig. */
|
PHYSFS_uint32 location = 8; /* sizeof sig. */
|
||||||
MVLentry *entry;
|
MVLentry *entry;
|
||||||
char *ptr;
|
|
||||||
|
|
||||||
BAIL_IF_MACRO(!mvl_open(name, forWriting, &fh, &fileCount), NULL, 0);
|
BAIL_IF_MACRO(!mvl_open(name, forWriting, &fh, &fileCount), NULL, 0);
|
||||||
info->entryCount = fileCount;
|
info->entryCount = fileCount;
|
||||||
|
|
Loading…
Reference in New Issue