0026788: Compiler warnings when OCCT_DEBUG is enabled
[occt.git] / src / GeomFill / GeomFill_GuideTrihedronAC.cxx
index 9c37a8b..ffd39fe 100644 (file)
@@ -247,9 +247,7 @@ GeomFill_GuideTrihedronAC::GeomFill_GuideTrihedronAC(const Handle(Adaptor3d_HCur
 
 //derivee seconde du triedre
 #ifdef OCCT_DEBUG
-  gp_Vec DTDN = DTo.Crossed(DNormal);
-#else
-  DTo.Crossed(DNormal);
+  gp_Vec DTDN = DTo.Crossed(DNormal); (void)DTDN;
 #endif
   Standard_Real TN2 = TN.SquareMagnitude();