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