mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Fix uninitialized class member Coverity findings
This commit is contained in:
parent
923ffbf25a
commit
4c58fb26c4
8 changed files with 22 additions and 21 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
private:
|
||||
StringValPtr msg;
|
||||
EventHandlerPtr handler;
|
||||
bool want_end_of_match; // Whether handler accepts end_of_match parameter.
|
||||
bool want_end_of_match = false; // Whether handler accepts end_of_match parameter.
|
||||
};
|
||||
|
||||
class RuleActionMIME : public RuleAction {
|
||||
|
@ -62,7 +62,7 @@ public:
|
|||
|
||||
private:
|
||||
std::string mime;
|
||||
int strength;
|
||||
int strength = 0;
|
||||
};
|
||||
|
||||
// Base class for enable/disable actions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue