aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llxml
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/llxml
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/llxml')
-rw-r--r--linden/indra/llxml/llxmlnode.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llxml/llxmlnode.cpp b/linden/indra/llxml/llxmlnode.cpp
index eb48b41..b83555a 100644
--- a/linden/indra/llxml/llxmlnode.cpp
+++ b/linden/indra/llxml/llxmlnode.cpp
@@ -311,6 +311,12 @@ void XMLCALL StartXMLNode(void *userData,
311 // Set the parent-child relationship with the current active node 311 // Set the parent-child relationship with the current active node
312 LLXMLNode* parent = (LLXMLNode *)userData; 312 LLXMLNode* parent = (LLXMLNode *)userData;
313 313
314 if (NULL == parent)
315 {
316 llwarns << "parent (userData) is NULL; aborting function" << llendl;
317 return;
318 }
319
314 new_node_ptr->mParser = parent->mParser; 320 new_node_ptr->mParser = parent->mParser;
315 321
316 // Set the current active node to the new node 322 // Set the current active node to the new node