mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- addressed most unused/uninitialized variable warnings from MSVC.
This commit is contained in:
parent
c6bd5c04c7
commit
01abe7b2ac
158 changed files with 94 additions and 468 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue