From 8233f57bfa76058d1a1956ad0d941d56da8a6d34 Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 28 Nov 2008 22:30:30 +0000 Subject: [PATCH] Removed unused variables pointed out by Strontium on irc, while at it remove an useless initialization. --- desmume/src/ROMReader.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/desmume/src/ROMReader.cpp b/desmume/src/ROMReader.cpp index bc8159cbc..bda82ff65 100644 --- a/desmume/src/ROMReader.cpp +++ b/desmume/src/ROMReader.cpp @@ -209,9 +209,7 @@ void ZIPROMReaderDeInit(void * file) u32 ZIPROMReaderSize(void * file) { - char useless[1024]; - u32 tmp; - u32 size = 0; + u32 size; zzip_seek((ZZIP_FILE*)file, 0, SEEK_END); size = zzip_tell((ZZIP_FILE*)file);