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:
committed by
Ted John
parent
a48976cc6b
commit
163e314379
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user