Salome HOME
#29478: Show names of groups in the view
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.cpp
index d79dab4127b1d5a7dc211a8fafbc2682581d397c..7c51ccc9aeb3bdbb29db403f80b12357e4fa42a0 100644 (file)
@@ -1104,10 +1104,7 @@ bool askToDelete(const std::set<FeaturePtr> theFeatures,
     aText += QString(QObject::tr(aMsg));
     aDetailedText += QString(QObject::tr(aMsgDetails))
                      .arg(aParamFeatureNames.join(aSep));
-#ifdef _DEBUG
-    QPushButton *aReplaceButton =
-#endif
-      aMessageBox.addButton(QObject::tr("Replace"), QMessageBox::ActionRole);
+    aMessageBox.addButton(QObject::tr("Replace"), QMessageBox::ActionRole);
   }
 
   if (!aText.isEmpty()) {