From 95c6baebd320c8101d62c6d68d21c2037a3ce05c Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sat, 17 Nov 2018 15:27:53 -0600 Subject: [PATCH] Fix unused variables. --- bsx.cpp | 2 ++ snapshot.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bsx.cpp b/bsx.cpp index f73c36f4..2881dbed 100644 --- a/bsx.cpp +++ b/bsx.cpp @@ -58,6 +58,7 @@ static const uint8 flashcard[20] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; +#if 0 static const uint8 init2192[32] = // FIXME { 00, 00, 00, 00, 00, // unknown @@ -69,6 +70,7 @@ static const uint8 init2192[32] = // FIXME 10, 10, 10, 10, 10, // dummy 00, 00, 00, 00, 00, 00, 00, 00, 00 }; +#endif static bool8 FlashMode; static uint32 FlashSize; diff --git a/snapshot.cpp b/snapshot.cpp index 1ce05230..c063458c 100644 --- a/snapshot.cpp +++ b/snapshot.cpp @@ -1967,7 +1967,6 @@ static bool CheckBlockName(STREAM stream, const char *name, int &len) { char buffer[16]; len = 0; - long rewind = FIND_STREAM(stream); size_t l = READ_STREAM(buffer, 11, stream); buffer[l] = 0;