wined3d: Check with "&& FALSE"

Paul Vriens paul.vriens.wine at gmail.com
Mon Mar 17 07:21:36 CDT 2008


Hi,

In the past we had some occurrences of comparisons with NULL flags. I had this 
check run again today and it came back with:

./dlls/wined3d/arb_program_shader.c:316:         if(max_constantsF + 
extra_constants_needed + 1 < GL_LIMITS(pshader_constantsF) && FALSE) {

Is this line correct? Doesn't this alway return FALSE?

-- 
Cheers,

Paul.



More information about the wine-devel mailing list