From: dmv Date: Tue, 12 Jan 2010 15:32:37 +0000 (+0000) Subject: correct debug messages X-Git-Tag: PARAVIS_29012010~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06f0c4f62f10e4fc04f0e2d65d6709de1339e492;p=modules%2Fsmesh.git correct debug messages --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index d39700ed3..ea3beb9f0 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -538,7 +538,7 @@ SMESH_Hypothesis::Hypothesis_Status } if(MYDEBUG) subMesh->DumpAlgoState(true); - SCRUTE(ret); + if(MYDEBUG) SCRUTE(ret); return ret; } @@ -560,8 +560,10 @@ SMESH_Hypothesis::Hypothesis_Status throw SALOME_Exception(LOCALIZED("hypothesis does not exist")); SMESH_Hypothesis *anHyp = sc->mapHypothesis[anHypId]; - int hypType = anHyp->GetType(); - if(MYDEBUG) SCRUTE(hypType); + if(MYDEBUG) { + int hypType = anHyp->GetType(); + SCRUTE(hypType); + } // shape