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:
@@ -980,10 +980,8 @@ void DsgPrs_AnglePresentation::Add (const Handle(Prs3d_Presentation)& aPresentat
|
||||
length);
|
||||
break;
|
||||
}
|
||||
#ifndef DEB
|
||||
default:
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -476,10 +476,8 @@ void DsgPrs_LengthPresentation::Add (const Handle(Prs3d_Presentation)& aPrs,
|
||||
aDrawer->LengthAspect()->Arrow1Aspect()->Angle(),
|
||||
aDrawer->LengthAspect()->Arrow1Aspect()->Length());
|
||||
break;
|
||||
#ifndef DEB
|
||||
default:
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
Prs3d_Root::CurrentGroup(aPrs)->EndPrimitives();
|
||||
|
||||
|
Reference in New Issue
Block a user