mirror of
https://github.com/leethomason/tinyxml2.git
synced 2026-07-27 22:23:00 +04:00
address feedback from review
This commit is contained in:
+2
-2
@@ -797,13 +797,13 @@ void XMLNode::Unlink( XMLNode* child )
|
||||
|
||||
if ( child->_prev ) {
|
||||
child->_prev->_next = child->_next;
|
||||
child->_prev = 0;
|
||||
}
|
||||
if ( child->_next ) {
|
||||
child->_next->_prev = child->_prev;
|
||||
child->_next = 0;
|
||||
}
|
||||
child->_parent = 0;
|
||||
child->_next = 0;
|
||||
child->_prev = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user