mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023604: Uninitialized variables in debug mode
Removed #ifndef DEB ... #else ... #endif directives where the variables were being initialized only in release mode. Removed unused part of code.
This commit is contained in:
@@ -85,10 +85,8 @@ void DrawDim::DrawShapeName (const TopoDS_Shape& ashape,
|
||||
position = BRep_Tool::Pnt(TopoDS::Vertex(ashape));
|
||||
}
|
||||
break;
|
||||
#ifndef DEB
|
||||
default:
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
t+=aname; //Name();
|
||||
Handle(Draw_Text3D) text = new Draw_Text3D (position,t.ToCString(),Draw_blanc);
|
||||
|
Reference in New Issue
Block a user