From 0c18ad2bcc627358ac6f8e8e71d5dea2dbf9719d Mon Sep 17 00:00:00 2001 From: Cinders Date: Sat, 7 Dec 2013 08:57:49 -0700 Subject: [PATCH] =?UTF-8?q?Dead=20store.=20BOOL=20integer=20wasn=E2=80=99t?= =?UTF-8?q?=20ever=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- indra/newview/quickprefs.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/indra/newview/quickprefs.cpp b/indra/newview/quickprefs.cpp index d6d154a7a0..2c2b00011c 100644 --- a/indra/newview/quickprefs.cpp +++ b/indra/newview/quickprefs.cpp @@ -1384,7 +1384,6 @@ void FloaterQuickPrefs::onValuesChanged() // do a best guess on variable types and control widgets ControlType type; - BOOL integer; switch(var->type()) { // Boolean gets the full set @@ -1393,7 +1392,6 @@ void FloaterQuickPrefs::onValuesChanged() // increment will be calculated below min_value=0.0; max_value=1.0; - integer=TRUE; type=ControlTypeRadio; break; } @@ -1415,9 +1413,6 @@ void FloaterQuickPrefs::onValuesChanged() } // Fallthrough, S32 and U32 are integer values case TYPE_S32: - { - integer=TRUE; - } // Fallthrough, S32, U32 and F32 should use sliders case TYPE_F32: { @@ -1428,7 +1423,6 @@ void FloaterQuickPrefs::onValuesChanged() default: { type=ControlTypeText; - integer=FALSE; } }