Christian Costa : d3dxof: Fix dead code.

Alexandre Julliard julliard at winehq.org
Fri Jan 30 07:58:14 CST 2009


Module: wine
Branch: master
Commit: 868f63935c311f9c5d3d05ed9d365212ac44e615
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=868f63935c311f9c5d3d05ed9d365212ac44e615

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Thu Jan 29 22:46:01 2009 +0100

d3dxof: Fix dead code.

---

 dlls/d3dxof/parsing.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 3c4299c..13fc5bb 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;
     }
   }
 




More information about the wine-cvs mailing list