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:
@@ -936,10 +936,8 @@ Standard_Integer offsetparameter(Draw_Interpretor& di,
|
||||
//case GeomAbs_Intersection: cout << " Intersection"; break;
|
||||
case GeomAbs_Arc: di << " Arc"; break;
|
||||
case GeomAbs_Intersection: di << " Intersection"; break;
|
||||
#ifndef DEB
|
||||
default:
|
||||
break ;
|
||||
#endif
|
||||
}
|
||||
//cout << endl;
|
||||
di << "\n";
|
||||
|
@@ -102,10 +102,8 @@ static Standard_Integer contblend(Draw_Interpretor& di, Standard_Integer narg, c
|
||||
//cout << "C2"<<endl;
|
||||
di << "C2"<<"\n";
|
||||
break;
|
||||
#ifndef DEB
|
||||
default:
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user