Core: Fix several coverity issues:

* CID 350582: Big parameter passed by value
* CID 350639: Big parameter passed by value
* CID 305234: Uncaught exception
* CID 316529: Uncaught exception
* CID 350597: Uncaught exception
* CID 350623: Uncaught exception
* CID 332690: Uncaught exception
* CID 332700: Unchecked return value
* CID 350576: Uninitialized scalar field
* CID 350587: Uninitialized scalar variable
* CID 192606: Uninitialized scalar field
* CID 332699: Uninitialized pointer field
* CID 350561: Dereference null return value
* CID 350610: Dereference null return value
* CID 350567: Dereference after null check
This commit is contained in:
wmayer
2022-03-13 13:53:32 +01:00
parent 2e6c4373bf
commit b78dc894e1
14 changed files with 94 additions and 48 deletions

View File

@@ -93,7 +93,7 @@ namespace Gui {
class NS::Event : public sc::event<NS::Event>
{
public:
Event():inventor_event(nullptr), flags(new Flags){}
Event():inventor_event(nullptr), modifiers{}, flags(new Flags){}
virtual ~Event(){}
void log() const {