5 Replies Latest reply on Nov 15, 2013 10:14 AM by rhusar

    mod_proxy_cluster.c:3325: possible bad if test ?

    dcb314

      I just compiled mod_cluster-1.2.6 with Linux gcc flag -Wlogical-op and it said

       

      mod_proxy_cluster.c:3325:17: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]

       

      Source code is

       

                     while (*path !='&' || *path !='\0')

      Suggest swap || for &&