Coverity Fixes
*** CID 153360: Control flow issues (UNREACHABLE) *** CID 153359: Uninitialized members (UNINIT_CTOR) *** CID 153358: Resource leaks (RESOURCE_LEAK) *** CID 153354: Null pointer dereferences (FORWARD_NULL)
This commit is contained in:
committed by
Yorik van Havre
parent
e5045f72e9
commit
10e03f6c64
@@ -131,10 +131,10 @@ short DrawView::mustExecute() const
|
||||
Scale.isTouched() ||
|
||||
ScaleType.isTouched() );
|
||||
}
|
||||
if (result) {
|
||||
if ((bool) result) {
|
||||
return result;
|
||||
}
|
||||
return App::DocumentObject::mustExecute();
|
||||
return App::DocumentObject::mustExecute();
|
||||
}
|
||||
|
||||
////you must override this in derived class
|
||||
|
||||
Reference in New Issue
Block a user