Fix scan coverity issues:
CID 184294: Uncaught exception CID 183597: Unchecked return value CID 175809: Dereference before null check CID 175810: Logically dead code CID 133000: Uninitialized scalar variable CID 133001: Uninitialized scalar variable CID 183591: Explicit null dereferenced
This commit is contained in:
@@ -1283,7 +1283,11 @@ Document::~Document()
|
||||
Console().Log("-App::Document: %s %p\n",getName(), this);
|
||||
#endif
|
||||
|
||||
clearUndos();
|
||||
try {
|
||||
clearUndos();
|
||||
}
|
||||
catch (const boost::exception&) {
|
||||
}
|
||||
|
||||
std::map<std::string,DocumentObject*>::iterator it;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user