all repos — mgba @ a920eaa7f0867a7e8a887460b4daae466c3f28f5

mGBA Game Boy Advance Emulator

All: Fix some warnings
Jeffrey Pfau jeffrey@endrift.com
Thu, 07 Jan 2016 23:49:06 -0800
commit

a920eaa7f0867a7e8a887460b4daae466c3f28f5

parent

5b4f8dfae3ae47e0fddb1d706feb42bd35e2fb7e

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/gba/serialize.csrc/gba/serialize.c

@@ -727,6 +727,8 @@ if (success) {

GBALog(gba, GBA_LOG_STATUS, "Screenshot saved"); return; } +#else + UNUSED(dir); #endif GBALog(gba, GBA_LOG_STATUS, "Failed to take screenshot"); }
M src/util/vfs.csrc/util/vfs.c

@@ -98,6 +98,7 @@ }

struct VDir* VDirOpenArchive(const char* path) { struct VDir* dir = 0; + UNUSED(path); #if defined(USE_LIBZIP) || defined(USE_ZLIB) if (!dir) { dir = VDirOpenZip(path, 0);