Compiler warning indicating probably incorrect code

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

Conclusion

None

Activity

Show:

Anthony Fishbeck October 26, 2022 at 3:10 PM

Yes, I'll change as suggested.

Richard Chapman October 26, 2022 at 1:32 PM

Looks like your code

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Fix versions

Roadmap

Not applicable

Created October 26, 2022 at 1:31 PM
Updated November 8, 2022 at 4:31 PM
Resolved November 8, 2022 at 4:31 PM

Flag notifications