diff options
Diffstat (limited to 'linden/indra/llxml/llxmlnode.cpp')
-rw-r--r-- | linden/indra/llxml/llxmlnode.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/llxml/llxmlnode.cpp b/linden/indra/llxml/llxmlnode.cpp index 5bb5012..0e2f9a2 100644 --- a/linden/indra/llxml/llxmlnode.cpp +++ b/linden/indra/llxml/llxmlnode.cpp | |||
@@ -499,10 +499,7 @@ void XMLCALL StartXMLNode(void *userData, | |||
499 | pos += 2; | 499 | pos += 2; |
500 | } | 500 | } |
501 | 501 | ||
502 | if (parent) | 502 | parent->addChild(new_node); |
503 | { | ||
504 | parent->addChild(new_node); | ||
505 | } | ||
506 | } | 503 | } |
507 | 504 | ||
508 | void XMLCALL EndXMLNode(void *userData, | 505 | void XMLCALL EndXMLNode(void *userData, |