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:
Markus Mäkelä
2019-05-31 07:51:23 +03:00
parent d5e8315290
commit 9481992bb9

View File

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