VS2015 warning fix (shadowed variable)

This commit is contained in:
baldurk
2016-01-14 19:38:47 +01:00
parent 5b375de3f1
commit 0bdd186550
-2
View File
@@ -492,8 +492,6 @@ Serialiser::Serialiser(size_t length, const byte *memoryBuf, bool fileheader)
}
else if(header->version == SERIALISE_VERSION)
{
const byte *memoryBufEnd = memoryBuf + length;
memoryBuf += sizeof(FileHeader);
// when loading in-memory we only care about the first section, which should be binary