Skip to content

Commit 23e9c8c

Browse files
committed
#3222 Make sure variables are initialized
in case anybody adds more constructors and forgets to set init.
1 parent c162d8a commit 23e9c8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indra/llui/lluistring.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ class LLUIString
110110
LLStringUtil::format_map_t* mArgs;
111111

112112
// controls lazy evaluation
113-
mutable bool mNeedsResult;
114-
mutable bool mNeedsWResult;
113+
mutable bool mNeedsResult { true };
114+
mutable bool mNeedsWResult { true };
115115
};
116116

117117
#endif // LL_LLUISTRING_H

0 commit comments

Comments
 (0)