From f8864a146bd0e7a871f5ce27f92683df66729dab Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Thu, 16 Jun 2011 14:31:08 +0200 Subject: 2 fixes in llxmlnode: pass LLUUID& instead of LLUUID to setUUIDValue; remove superfluous NULL pointer check --- linden/indra/llxml/llxmlnode.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'linden/indra/llxml/llxmlnode.cpp') 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, pos += 2; } - if (parent) - { - parent->addChild(new_node); - } + parent->addChild(new_node); } void XMLCALL EndXMLNode(void *userData, -- cgit v1.1