summaryrefslogtreecommitdiff
path: root/indra/llxuixml/llinitparam.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-10-06 16:57:04 -0700
committerRichard Nelson <none@none>2010-10-06 16:57:04 -0700
commitf37e9532016473fb77b11d88f74f551de737a108 (patch)
tree04eabe87663eb47500aa98b4557c38833317981d /indra/llxuixml/llinitparam.cpp
parentf974a019b19a68fee219eb1b4e80d6dc5c5df92e (diff)
parent5647e745989d6c3e4387ec990a35c4308dd6b929 (diff)
merge
Diffstat (limited to 'indra/llxuixml/llinitparam.cpp')
-rw-r--r--indra/llxuixml/llinitparam.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llxuixml/llinitparam.cpp b/indra/llxuixml/llinitparam.cpp
index 2c92539387..7ffcd91879 100644
--- a/indra/llxuixml/llinitparam.cpp
+++ b/indra/llxuixml/llinitparam.cpp
@@ -312,6 +312,13 @@ namespace LLInitParam
}
}
+ // if no match, and no names left on stack, this is just an existence assertion of this block
+ // verify by calling readValue with NoValue type, an inherently unparseable type
+ if (!names_left)
+ {
+ return p.readValue(NoValue());
+ }
+
return false;
}