Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-28455

Compiler warning indicating probably incorrect code

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.10.6, 8.8.26
    • None
    • None

    Description

      [build] /Users/rchapman/HPCC-Platform/system/xmllib/libxml_xpathprocessor.cpp:970:21: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
      [build]         if (!obj || !obj->type==XPATH_NODESET || !obj->nodesetval || !obj->nodesetval->nodeTab || obj->nodesetval->nodeNr<1)
      

      I suspect it was intending to say

      obj->type!=XPATH_NODESET
      

      Attachments

        Activity

          People

            afishbeck Anthony Fishbeck
            richardkchapman Richard Chapman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: