#core Removed redundant Casts

#rb Steve.Robb

[CL 4074708 by James Hopkin in Dev-Core branch]
This commit is contained in:
James Hopkin
2018-05-16 05:31:10 -04:00
parent cafea7d62f
commit 93ae0221a8
12 changed files with 17 additions and 20 deletions

View File

@@ -983,8 +983,8 @@ FString GetFriendlyStructValue(const UScriptStruct* InStruct, const void* InStru
}
else
{
const UScriptStruct* ScriptStruct = CastChecked<UScriptStruct>(InStruct);
ScriptStruct->ExportText(FriendlyStructValue, InStructValue, InStructValue, nullptr, InPortFlags, nullptr);
check(InStruct);
InStruct->ExportText(FriendlyStructValue, InStructValue, InStructValue, nullptr, InPortFlags, nullptr);
}
return FriendlyStructValue;