浏览代码

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;