summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorNicky Dasmijn <sl.nicky.ml@googlemail.com>2022-03-02 02:39:07 +0000
committerAndrey Lihatskiy <andreylproductengine@lindenlab.com>2022-03-02 02:39:07 +0000
commit3e77876ac44f60b7bc23e5618b56b8c9df4a2709 (patch)
tree0af6f51986acc8f746be475b06646cbf11df430c /indra/llinventory
parentfa9d4927f45f868573d95d670652c561d50a0de7 (diff)
parentdf00e8a0b2e9cdd9700f51e964d040c19a4bf2ec (diff)
Merged in nd_cleanup_v2 (pull request #891)
Remove all boost, fix calling functions on nullptrs, initialize vars Approved-by: Maxim Nikolenko Approved-by: Nat Linden Approved-by: Andrey Lihatskiy
Diffstat (limited to 'indra/llinventory')
-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;
}