- addressed most unused/uninitialized variable warnings from MSVC.

This commit is contained in:
Christoph Oelckers 2021-11-14 15:03:50 +01:00
parent c6bd5c04c7
commit 01abe7b2ac
158 changed files with 94 additions and 468 deletions

View file

@ -619,7 +619,6 @@ void FSerializer::ReadObjects(bool hubtravel)
if (BeginObject(nullptr))
{
FString clsname; // do not deserialize the class type directly so that we can print appropriate errors.
int pindex = -1;
Serialize(*this, "classtype", clsname, nullptr);
PClass *cls = PClass::FindClass(clsname);
@ -652,7 +651,6 @@ void FSerializer::ReadObjects(bool hubtravel)
{
if (obj != nullptr)
{
int pindex = -1;
try
{
obj->SerializeUserVars(*this);