diff options
author | Oz Linden <oz@lindenlab.com> | 2010-12-14 14:44:23 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-12-14 14:44:23 -0500 |
commit | 3aa12e85f04f0608da5df05b2cbb01685ef62944 (patch) | |
tree | 02e78886d530c92e3eddf0f73f3eb7f8a5b641da /indra/llxuixml/llinitparam.cpp | |
parent | bae83c7eac98229271a6baf4c961fe167c74a597 (diff) | |
parent | a702b34394e4b38b27338eb6d68d22b498984118 (diff) |
merge fix(es) for storm-378
Diffstat (limited to 'indra/llxuixml/llinitparam.cpp')
-rw-r--r-- | indra/llxuixml/llinitparam.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llxuixml/llinitparam.cpp b/indra/llxuixml/llinitparam.cpp index 2c92539387..fcdbaa4309 100644 --- a/indra/llxuixml/llinitparam.cpp +++ b/indra/llxuixml/llinitparam.cpp @@ -312,6 +312,14 @@ 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 NoParamValue type, an inherently unparseable type + if (!names_left) + { + NoParamValue no_value; + return p.readValue(no_value); + } + return false; } |