Salome HOME
[bos #32517][EDF] Dynamic logging: Fixed compilation error.
authorKonstantin LEONTEV <kleontev@ubuntu2004-01.nnov.opencascade.com>
Mon, 17 Oct 2022 11:27:42 +0000 (14:27 +0300)
committerKonstantin LEONTEV <kleontev@ubuntu2004-01.nnov.opencascade.com>
Mon, 17 Oct 2022 11:27:42 +0000 (14:27 +0300)
src/SMESH/SMESH_MesherHelper.cxx

index 2a20f69c3c8cfe6d7bea8c3322cca99e980aa265..af658f2aa61fe32a397b75b9c244155d892ad3c6 100644 (file)
@@ -3859,10 +3859,8 @@ namespace { // Structures used by FixQuadraticElements()
     else
       _normal.SetCoord(1e-33,0,0);
 
-    _face = face;
-
-    (void)face; // unused in release mode
-#endif
+    if (SALOME::VerbosityActivated())
+      _face = face;
   }
   //================================================================================
   /*!