1
0
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:
dbv@opencascade.com
2012-03-07 17:00:48 +04:00
committed by bugmaster
parent 25289ec1e1
commit 6e6cd5d949
226 changed files with 151 additions and 1471 deletions

View File

@@ -594,7 +594,6 @@ WNT_ArcNote :: WNT_ArcNote (
void WNT_ArcNote :: Play ( BOOL fDummy )
{
Xform ();
HDC hdc = ALLOCATOR -> myHDC;
SetArcDirection ( ALLOCATOR -> myHDC, myDirect );
Arc ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr,
myTX + myTXr, myTY + myTYr,
@@ -941,7 +940,6 @@ void WNT_TextNote :: Play ( BOOL fDummy )
void WNT_TextNote :: Xform ( void )
{
HDC hdc = ALLOCATOR -> myHDC;
WNT_PointNote :: Xform ();
RMatrix.eDx = float ( myTX );
RMatrix.eDy = float ( myTY );

View File

@@ -14,7 +14,6 @@ WNT_FontMapEntry :: WNT_FontMapEntry ( const Standard_CString aFontName )
{
int i;
char* p;
BOOL fUseDefault = FALSE;
char* fName = new char[ strlen ( aFontName ) + 1 ];

View File

@@ -1258,7 +1258,6 @@ Standard_Address WNT_WDriver :: InternalOpenBuffer (
) {
PW32_Allocator aNew = NULL;
Aspect_TypeOfDrawMode DrawMode = Aspect_TODM_REPLACE;
MyDrawMode = aDrawMode;
aNew = _FindAllocator ( myAllocators, aRetainBuffer );