aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterwater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterwater.cpp')
-rw-r--r--linden/indra/newview/llfloaterwater.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterwater.cpp b/linden/indra/newview/llfloaterwater.cpp
index cbf62e1..9dd3aab 100644
--- a/linden/indra/newview/llfloaterwater.cpp
+++ b/linden/indra/newview/llfloaterwater.cpp
@@ -761,13 +761,11 @@ bool LLFloaterWater::deleteAlertCallback(const LLSD& notification, const LLSD& r
761 LLComboBox* combo_box = sWaterMenu->getChild<LLComboBox>("WaterPresetsCombo"); 761 LLComboBox* combo_box = sWaterMenu->getChild<LLComboBox>("WaterPresetsCombo");
762 LLFloaterDayCycle* day_cycle = NULL; 762 LLFloaterDayCycle* day_cycle = NULL;
763 LLComboBox* key_combo = NULL; 763 LLComboBox* key_combo = NULL;
764 LLMultiSliderCtrl* mult_sldr = NULL;
765 764
766 if(LLFloaterDayCycle::isOpen()) 765 if(LLFloaterDayCycle::isOpen())
767 { 766 {
768 day_cycle = LLFloaterDayCycle::instance(); 767 day_cycle = LLFloaterDayCycle::instance();
769 key_combo = day_cycle->getChild<LLComboBox>("WaterKeyPresets"); 768 key_combo = day_cycle->getChild<LLComboBox>("WaterKeyPresets");
770 mult_sldr = day_cycle->getChild<LLMultiSliderCtrl>("WaterDayCycleKeys");
771 } 769 }
772 770
773 std::string name = combo_box->getSelectedValue().asString(); 771 std::string name = combo_box->getSelectedValue().asString();