Fix uninitialized class member Coverity findings

This commit is contained in:
Tim Wojtulewicz 2025-07-11 21:38:57 -07:00
parent 923ffbf25a
commit 4c58fb26c4
8 changed files with 22 additions and 21 deletions

View file

@ -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.