mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0022922: Clean up warnings on uninitialized / unused variables
This commit is contained in:
committed by
bugmaster
parent
25289ec1e1
commit
6e6cd5d949
@@ -467,10 +467,6 @@ void TestTopOpeDraw_SurfaceDisplayer::InitSurfaceDisplayer()
|
||||
void TestTopOpeDraw_SurfaceDisplayer::DisplaySurface(const Handle(Geom_Surface& S))
|
||||
{
|
||||
if (S.IsNull()) return;
|
||||
#ifdef DEB
|
||||
Draw_ColorKind isocol =
|
||||
#endif
|
||||
TestTopOpeDraw_TTOT::GeometryColor(TopOpeBRepDS_SURFACE);
|
||||
Handle(TestTopOpeDraw_DrawableSUR) D;
|
||||
D = new TestTopOpeDraw_DrawableSUR
|
||||
(S,mySDIsoColor,mySDBoundColor,mySDNormalColor,
|
||||
|
@@ -109,10 +109,6 @@ static Standard_CString makename2(const gp_Pnt& P)
|
||||
|
||||
C = "";C = C + P.Coord(2);
|
||||
TCollection_AsciiString S1 = C.Token(".",1);
|
||||
#ifdef DEB
|
||||
Standard_Integer l =
|
||||
#endif
|
||||
S1.Length();
|
||||
S1.RightJustify(15, ' ');
|
||||
TCollection_AsciiString S2 = C.Token(".",2);
|
||||
S2.Trunc(2);
|
||||
|
Reference in New Issue
Block a user