Fix unused variables.

This commit is contained in:
Brandon Wright 2018-11-17 15:27:53 -06:00
parent 4471bacf18
commit 95c6baebd3
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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;