1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

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 = ""; pText = "";
} }
if (pText == NULL)
{
pText = "";
}
if (SDL_strcmp(pKey, "summary") == 0) if (SDL_strcmp(pKey, "summary") == 0)
{ {
summary->summary = pText; summary->summary = pText;
} }
else if (SDL_strcmp(pKey, "seconds") == 0) else if (SDL_strcmp(pKey, "seconds") == 0)
{ {
summary->seconds = help.Int(pText); summary->seconds = help.Int(pText);