remove unused variable

This commit is contained in:
twinaphex 2020-09-18 02:27:57 +02:00
parent 037f1bbb54
commit e7ff65aa3a

View File

@ -181,7 +181,6 @@ bool prosystem_Save(char *buffer, bool compress)
bool prosystem_Load(const char *buffer) bool prosystem_Load(const char *buffer)
{ {
uint32_t index; uint32_t index;
uint8_t version;
char digest[33] = {0}; char digest[33] = {0};
uint32_t date = 0; uint32_t date = 0;
uint32_t size = 0; uint32_t size = 0;
@ -194,7 +193,6 @@ bool prosystem_Load(const char *buffer)
return false; return false;
} }
offset += 16; offset += 16;
version = buffer[offset++];
for(index = 0; index < 4; index++); for(index = 0; index < 4; index++);
offset += 4; offset += 4;