Salome HOME
INT PAL 0053060: Preview in clipping
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RevolutionDlg.cxx
index a91586798c0e9c657c4a93ec1a657a1502757fb9..82a7a0451b30c1bcecce4cbfdf92e208191a7d80 100644 (file)
@@ -612,9 +612,7 @@ void SMESHGUI_RevolutionDlg::SelectionIntoArgument()
     if ( !aMesh )
       return;
 
-    int aNbUnits = 0;
-
-    bool isNodeSelected = (myEditCurrentArgument == (QWidget*)SpinBox_X ||
+    bool isNodeSelected = ((myEditCurrentArgument == (QWidget*)SpinBox_X ) ||
                            (myEditCurrentArgument == (QWidget*)SpinBox_DX &&
                             myVectorDefinition==POINT_SELECT));