[1/3] d3dxof: Make parsing more permissive about semicolon and comma in objects

Paul Vriens paul.vriens.wine at gmail.com
Sat Jan 24 07:08:13 CST 2009


Christian Costa wrote:
> 
> 
> ------------------------------------------------------------------------
> 
> 
Hi Christian,

+      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)

This introduced a DEADCODE warning in Coverity. The code changed was in 
d3dxof.c but was moved in a later patch to parsing.c.

Could you have a look?

-- 
Cheers,

Paul.



More information about the wine-devel mailing list