summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-29 14:56:29 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-29 14:56:29 -0800
commit8f39cd1bc929c517e49055e69fc14a99e9158bc8 (patch)
treec00182d96e9e3175b07ead7d574c9fbb02036d53
parentefe4ed283be8ac0861c38ebffc2637cd9293f267 (diff)
CID-321
Checker: UNINIT_CTOR Function: LLInitParam::ParamDescriptor::ParamDescriptor(...)
-rw-r--r--indra/llxuixml/llinitparam.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h
index 7e1e4a3d21..bdc6d146e6 100644
--- a/indra/llxuixml/llinitparam.h
+++ b/indra/llxuixml/llinitparam.h
@@ -321,13 +321,13 @@ namespace LLInitParam
typedef bool(*validation_func_t)(const Param*);
ParamDescriptor(param_handle_t p,
- merge_func_t merge_func,
- deserialize_func_t deserialize_func,
- serialize_func_t serialize_func,
- validation_func_t validation_func,
- inspect_func_t inspect_func,
- S32 min_count,
- S32 max_count)
+ merge_func_t merge_func,
+ deserialize_func_t deserialize_func,
+ serialize_func_t serialize_func,
+ validation_func_t validation_func,
+ inspect_func_t inspect_func,
+ S32 min_count,
+ S32 max_count)
: mParamHandle(p),
mMergeFunc(merge_func),
mDeserializeFunc(deserialize_func),
@@ -336,6 +336,7 @@ namespace LLInitParam
mInspectFunc(inspect_func),
mMinCount(min_count),
mMaxCount(max_count),
+ mGeneration(0),
mNumRefs(0)
{}