summaryrefslogtreecommitdiff
path: root/indra/llxuixml/llinitparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llxuixml/llinitparam.h')
-rw-r--r--indra/llxuixml/llinitparam.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h
index 35c3106198..70dad4c8bf 100644
--- a/indra/llxuixml/llinitparam.h
+++ b/indra/llxuixml/llinitparam.h
@@ -478,7 +478,7 @@ namespace LLInitParam
bool mergeBlockParam(bool param_provided, BlockDescriptor& block_data, const BaseBlock& other, bool overwrite)
{
- mergeBlock(block_data, other, overwrite);
+ return mergeBlock(block_data, other, overwrite);
}
// take all provided params from other and apply to self
bool mergeBlock(BlockDescriptor& block_data, const BaseBlock& other, bool overwrite);
@@ -1333,8 +1333,9 @@ namespace LLInitParam
{
if (param_provided)
{
- mergeBlock(block_data, other, overwrite);
+ return mergeBlock(block_data, other, overwrite);
}
+ return false;
}
// merge with other block
@@ -1889,8 +1890,9 @@ namespace LLInitParam
{
if (param_provided)
{
- mergeBlock(block_data, other, overwrite);
+ return mergeBlock(block_data, other, overwrite);
}
+ return false;
}
bool mergeBlock(BlockDescriptor& block_data, const BaseBlock& other, bool overwrite)