1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Remove unused or set-but-not-read variables

This commit is contained in:
Michał Janiszewski
2016-09-07 12:39:29 +00:00
committed by Ted John
parent a48976cc6b
commit 163e314379
22 changed files with 12 additions and 99 deletions

View File

@@ -494,7 +494,7 @@ private:
{
if (fixChecksum)
{
int realChecksum = object_calculate_checksum(entry, data, dataSize);
uint32 realChecksum = object_calculate_checksum(entry, data, dataSize);
if (realChecksum != entry->checksum)
{
char objectName[9];
@@ -515,7 +515,7 @@ private:
try
{
int newRealChecksum = object_calculate_checksum(entry, newData, newDataSize);
uint32 newRealChecksum = object_calculate_checksum(entry, newData, newDataSize);
if (newRealChecksum != entry->checksum)
{
Guard::Fail("CalculateExtraBytesToFixChecksum failed to fix checksum.", GUARD_LINE);