Преглед на файлове

Fix unused variable warning in ctkSliderWidget by commenting line

Jean-Christophe Fillion-Robin преди 14 години
родител
ревизия
3878f0a0ba
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Libs/Widgets/ctkSliderWidget.cpp

+ 1 - 1
Libs/Widgets/ctkSliderWidget.cpp

@@ -228,7 +228,7 @@ void ctkSliderWidget::setValue(double _value)
   d->SpinBox->setValue(_value);
   // Why do we need to set the value to the slider ?
   //d->Slider->setValue(d->SpinBox->value());
-  double spinBoxValue = d->SpinBox->value();
+  //double spinBoxValue = d->SpinBox->value();
   Q_ASSERT(d->equal(d->SpinBox->value(), d->Slider->value()));
   // restore the prop
   d->Changing = isChanging;