VS2015 warning fix (shadowed variable)

This commit is contained in:
baldurk committed 2016-02-07 18:50:51 +01:00
1 parent 5b375de3f1
commit 0bdd186550
1 file changed
-2
-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