From 9ee06f2f90fd4350676c1d62cabdcc647efe7e7a Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Sat, 2 Oct 2010 13:26:14 -0500 Subject: Remove unused variables. --- indra/newview/llfloatermodelpreview.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 02e76d8b17..1336043b7f 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -2968,10 +2968,7 @@ void LLModelPreview::updateStatusMessages() { for (U32 i = 0; i < verts[lod].size(); ++i) { - const F32 ratio = 0.5f; - - F32 scaler = 1.f; - S32 max_verts = (S32)(verts[lod+1][i]*scaler); + S32 max_verts = verts[lod+1][i]; if (verts[lod][i] > max_verts) { -- cgit v1.2.3