d3dxof: Fix dead code.

This commit is contained in:
Christian Costa 2009-01-29 22:46:01 +01:00 committed by Alexandre Julliard
parent d92eca1ef9
commit 868f63935c
1 changed files with 1 additions and 6 deletions

View File

@ -1149,14 +1149,9 @@ static BOOL parse_object_members_list(parse_buffer * buf)
{ {
token = get_TOKEN(buf); token = get_TOKEN(buf);
if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA)) if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA))
{
/* Allow comma instead of semicolon in some specific cases */
if (!((token == TOKEN_COMMA) && ((i+1) < pt->nb_members) && (pt->members[i].type == pt->members[i+1].type)
&& (!pt->members[i].nb_dims) && (!pt->members[i+1].nb_dims)))
return FALSE; return FALSE;
} }
} }
}
return TRUE; return TRUE;
} }