Salome HOME
Fix regressions
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SewingDlg.cxx
index 458e930669cc94b64b46a2f3448ac8499f52c210..22253c4d69caec10655af62a565c787b09d98365 100644 (file)
@@ -1308,7 +1308,7 @@ bool SMESHGUI_SewingDlg::ClickOnApply()
       SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor();
 
       int aConstructorId = GetConstructorId();
-      SMESH::SMESH_MeshEditor::Sew_Error anError;
+      SMESH::SMESH_MeshEditor::Sew_Error anError = SMESH::SMESH_MeshEditor::SEW_OK;
 
       if (aConstructorId == 0)
       {