mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -323,11 +323,7 @@ static Standard_Integer DDocStd_DumpDocument (Draw_Interpretor& di,
|
||||
// command
|
||||
di << "COMMAND : ";
|
||||
if (D->HasOpenCommand()) di << " Is Open";
|
||||
#ifndef DEB
|
||||
else di << " Is Not Open";
|
||||
#else
|
||||
else " Is Not Open"; // ???
|
||||
#endif
|
||||
// undo
|
||||
di << "UNDO :";
|
||||
di << " limit :" << D->GetUndoLimit();
|
||||
|
Reference in New Issue
Block a user