Browse Source

Fix unused variable warning in ctkSliderWidget by commenting line

Jean-Christophe Fillion-Robin 14 years ago
parent
commit
3878f0a0ba
1 changed files with 1 additions and 1 deletions
  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;