From 23e9c8cf309198b62dbfdb48fb9d56af51079ffe Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Tue, 10 Dec 2024 15:20:27 +0200 Subject: #3222 Make sure variables are initialized in case anybody adds more constructors and forgets to set init. --- indra/llui/lluistring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llui/lluistring.h') diff --git a/indra/llui/lluistring.h b/indra/llui/lluistring.h index 2512634004..950d4e72c6 100644 --- a/indra/llui/lluistring.h +++ b/indra/llui/lluistring.h @@ -110,8 +110,8 @@ private: LLStringUtil::format_map_t* mArgs; // controls lazy evaluation - mutable bool mNeedsResult; - mutable bool mNeedsWResult; + mutable bool mNeedsResult { true }; + mutable bool mNeedsWResult { true }; }; #endif // LL_LLUISTRING_H -- cgit v1.2.3