Skip to content
Snippets Groups Projects
Commit 5593184a authored by Steven Noonan's avatar Steven Noonan
Browse files

zlib/ioapi.c: add 'return's to fopen_file_func and fopen64_file_func


This fixes the 'bad neunon bad' commit (14f562a9). Bad DarkGod, bad, I guess?

Signed-off-by: default avatarSteven Noonan <steven@uplinklabs.net>
parent c84e671b
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,7 @@ static voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char* filename, in
else
if (mode & ZLIB_FILEFUNC_MODE_CREATE)
file = PHYSFS_openWrite(filename);
return file;
}
static voidpf ZCALLBACK fopen64_file_func (voidpf opaque, const void* filename, int mode)
......@@ -105,6 +106,7 @@ static voidpf ZCALLBACK fopen64_file_func (voidpf opaque, const void* filename,
else
if (mode & ZLIB_FILEFUNC_MODE_CREATE)
file = PHYSFS_openWrite(filename);
return file;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment