d3dxof: Fix dead code.
This commit is contained in:
parent
d92eca1ef9
commit
868f63935c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue