Remove double NULL check in loadthissummary()

This commit is contained in:
Dav999
2023-09-13 16:21:51 +02:00
committed by Misa Elizabeth Kai
parent 61adffe6eb
commit 64bad7d67f

View File

@@ -5611,16 +5611,10 @@ static void loadthissummary(
pText = "";
}
if (pText == NULL)
{
pText = "";
}
if (SDL_strcmp(pKey, "summary") == 0)
{
summary->summary = pText;
}
else if (SDL_strcmp(pKey, "seconds") == 0)
{
summary->seconds = help.Int(pText);