summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-10 14:13:58 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-10 14:13:58 -0700
commit7c75ce13299af68b73563714ca366f891f6a9eb8 (patch)
tree19046d40daec50df078e2616e12b5768957a5b40 /.gitignore
parent73f73d21c22b0220403bc036c6175fb7c2bfafee (diff)
set_node_labels: move dereference of node to after the NULL check
Found by cppcheck: viewres.c:815:22: warning: Either the condition '!node' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] ViewresData *d = VData(node); ^ viewres.c:817:9: note: Assuming that condition '!node' is not redundant if (!node) ^ viewres.c:815:22: note: Null pointer dereference ViewresData *d = VData(node); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions