From 409befbd6920b3dbf13e34af0181c347f403783f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 4 Aug 2022 14:58:57 +0200 Subject: [PATCH] Fix "Mimimimimi... I'm a whiny pedantic GCC compiler... Mimimimi" issue... --- indra/newview/llpanelface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 890b546fe0..c29751ce44 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -3651,7 +3651,7 @@ void LLPanelFace::LLSelectedTE::getFace(LLFace*& face_to_return, bool& identical void LLPanelFace::LLSelectedTE::getImageFormat(LLGLenum& image_format_to_return, bool& identical_face) { - LLGLenum image_format; + LLGLenum image_format{ GL_RGB }; struct LLSelectedTEGetImageFormat : public LLSelectedTEGetFunctor { LLGLenum get(LLViewerObject* object, S32 te_index)