diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 09:16:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 11:02:07 +0000 |
commit | d08a7036dcdd75aba1b8ae67a0af745deb813ff2 (patch) | |
tree | 24d4b989fd028d2aa22ce0849c242ee9298ba4c6 /unoxml | |
parent | 43df355a86b1db8c11e6a42c06131d97626f04a5 (diff) |
document 440749 Explicit null dereferenced
Change-Id: I9f2e97504953742f09981632b7901fcd2fae6747
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/node.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index 40fae80affdf..ab80060aa12f 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -913,6 +913,7 @@ namespace DOM if (pNew->next != NULL) pNew->next->prev = pNew; pNew->parent = pOld->parent; + // coverity[var_deref_op] pNew->parent cannot be NULL here if(pNew->parent->children == pOld) pNew->parent->children = pNew; if(pNew->parent->last == pOld) |