From 868f63935c311f9c5d3d05ed9d365212ac44e615 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Thu, 29 Jan 2009 22:46:01 +0100 Subject: [PATCH] d3dxof: Fix dead code. --- dlls/d3dxof/parsing.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c index 3c4299c23c6..13fc5bb613d 100644 --- a/dlls/d3dxof/parsing.c +++ b/dlls/d3dxof/parsing.c @@ -1149,12 +1149,7 @@ static BOOL parse_object_members_list(parse_buffer * buf) { token = get_TOKEN(buf); 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; } }