summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-11-13 13:26:34 -0500
committerOz Linden <oz@lindenlab.com>2014-11-13 13:26:34 -0500
commit48a27b4a965c447bbb75a995688ba8838256e3f6 (patch)
tree5c9db965c6ad9803fba13820a7764f3e272de508 /indra
parent0858ba2d0a7253e7f9f4db84560da6f829f7270c (diff)
fix warning for gcc that clang did not care about
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llvoavatar.cpp3
1 files changed, 2 insertions, 1 deletions
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<U32> max_attachment_bytes(gSavedSettings, "RenderAutoMuteByteLimit", 0);
render_info_text.append(llformat("%.1f KB%s", mAttachmentGeometryBytes/1024.f,