summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-02-28 22:20:41 +0100
committerNicky <nicky.dasmijn@gmail.com>2022-02-28 22:20:41 +0100
commit35cec6e3ad5ba4fceea8c8caef69c28155e0fcc4 (patch)
treef1f7efaa364aac0466d08770b189c7ac966c7274 /indra
parent43031968a653899f62755b6d7b7e28b7fedc24d9 (diff)
Initialize PODs with 0 and not leave anyting to chance.
Diffstat (limited to 'indra')
-rw-r--r--indra/llinventory/llparcel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp
index e2469f3c7e..e25dae8a90 100644
--- a/indra/llinventory/llparcel.cpp
+++ b/indra/llinventory/llparcel.cpp
@@ -463,13 +463,13 @@ BOOL LLParcel::importAccessEntry(std::istream& input_stream, LLAccessEntry* entr
}
else if ("time" == keyword)
{
- S32 when;
+ S32 when{};
LLStringUtil::convertToS32(value, when);
entry->mTime = when;
}
else if ("flags" == keyword)
{
- U32 setting;
+ U32 setting{};
LLStringUtil::convertToU32(value, setting);
entry->mFlags = setting;
}