From 48a27b4a965c447bbb75a995688ba8838256e3f6 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Thu, 13 Nov 2014 13:26:34 -0500 Subject: fix warning for gcc that clang did not care about --- indra/newview/llvoavatar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index d5d93e82a8..e0128463f3 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -7955,7 +7955,8 @@ void LLVOAvatar::idleUpdateRenderCost() { std::string render_info_text; F32 worst_ratio = 0.f; - F32 red_level, green_level; + F32 red_level = 0.f; + F32 green_level = 0.f; static LLCachedControl max_attachment_bytes(gSavedSettings, "RenderAutoMuteByteLimit", 0); render_info_text.append(llformat("%.1f KB%s", mAttachmentGeometryBytes/1024.f, -- cgit v1.2.3