Fix dbfwfilter release mode build failure
GCC 9 complained about null format strings even though the argument given was never null.
This commit is contained in:
@ -305,7 +305,7 @@ class Rule;
|
||||
typedef std::shared_ptr<Rule> SRule;
|
||||
|
||||
/** Helper function for strdup'ing in printf style */
|
||||
char* create_error(const char* format, ...);
|
||||
char* create_error(const char* format, ...) __attribute__ ((nonnull));
|
||||
|
||||
/**
|
||||
* Check if a rule matches
|
||||
|
Reference in New Issue
Block a user