Avoid compiler warnings
Jeffrey Pfau jeffrey@endrift.com
Fri, 25 Jul 2014 03:45:54 -0700
2 files changed,
3 insertions(+),
0 deletions(-)
M
src/gba/gba.c
→
src/gba/gba.c
@@ -580,6 +580,7 @@ }
enum GBALogLevel gbaLevel; switch (level) { + default: // Avoids compiler warning case DEBUGGER_LOG_DEBUG: gbaLevel = GBA_LOG_DEBUG; break;
M
src/util/vfs/vfs-zip.c
→
src/util/vfs/vfs-zip.c
@@ -104,6 +104,8 @@ return -1;
} position = vfz->fileSize + offset; break; + default: + return -1; } if (position <= vfz->offset) {