From 3bcba0b4ec0487ef3076d7a71faa9832de3e81df Mon Sep 17 00:00:00 2001 From: Rye Mutt <lightdrake@gmail.com> Date: Fri, 6 Aug 2021 08:35:18 -0400 Subject: [PATCH] Fix GCC10 warning --- indra/newview/lltoastalertpanel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/lltoastalertpanel.h b/indra/newview/lltoastalertpanel.h index bd34e40642b..ef5603fca7c 100644 --- a/indra/newview/lltoastalertpanel.h +++ b/indra/newview/lltoastalertpanel.h @@ -86,10 +86,10 @@ class LLToastAlertPanel : mWidth(0) {} - LLButton* mButton; + LLButton* mButton = nullptr; std::string mURL; - U32 mURLExternal; - S32 mWidth; + U32 mURLExternal = 0; + S32 mWidth = 0; }; std::vector<ButtonData> mButtonData; -- GitLab