All: Fix some warnings

This commit is contained in:
Jeffrey Pfau 2016-01-07 23:49:06 -08:00
parent 5b4f8dfae3
commit a920eaa7f0
2 changed files with 3 additions and 0 deletions

View File

@ -727,6 +727,8 @@ void GBATakeScreenshot(struct GBA* gba, struct VDir* dir) {
GBALog(gba, GBA_LOG_STATUS, "Screenshot saved");
return;
}
#else
UNUSED(dir);
#endif
GBALog(gba, GBA_LOG_STATUS, "Failed to take screenshot");
}

View File

@ -98,6 +98,7 @@ struct VFile* VFileOpen(const char* path, int flags) {
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);