wined3d: Check with "&& FALSE"

H. Verbeet hverbeet at gmail.com
Mon Mar 17 07:39:35 CDT 2008


On 17/03/2008, Paul Vriens <paul.vriens.wine at gmail.com> wrote:
> 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?
>
Looks like leftover debug code to me.



More information about the wine-devel mailing list