Fix for annoying compiler warning complaining about misleading indentation following if conditional.

This commit is contained in:
mjbudd77 2021-02-21 21:12:20 -05:00
parent bf17e53335
commit 33882cb0d7
1 changed files with 6 additions and 3 deletions

View File

@ -400,9 +400,12 @@ Condition* Term(const char** str)
Condition* t1;
Condition* mid;
t = (Condition*)FCEU_dmalloc(sizeof(Condition));
if (!t)
return NULL;
t = (Condition*)FCEU_dmalloc(sizeof(Condition));
if (!t)
{
return NULL;
}
memset(t, 0, sizeof(Condition));