From ada2d07572ca51159004eec82721d3dabe735bb8 Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Tue, 29 Jan 2013 22:12:20 -0600 Subject: Compile fix for potentially uninitialized variable. --- 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 f0daa96e19..024265b377 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -666,7 +666,7 @@ void LLPanelFace::getState() { LLGLenum get(LLViewerObject* object, S32 te_index) { - LLGLenum image_format; + LLGLenum image_format = GL_RGB; LLViewerTexture* image = object->getTEImage(te_index); if (image) image_format = image->getPrimaryFormat(); -- cgit v1.2.3