diff options
Diffstat (limited to 'clang-plugin')
-rw-r--r-- | clang-plugin/printf_check.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc index 4bb0f33a8..76b306b51 100644 --- a/clang-plugin/printf_check.cc +++ b/clang-plugin/printf_check.cc @@ -392,7 +392,8 @@ namespace rspamd { if (!query->isEvaluatable (*pcontext)) { print_warning (std::string ("cannot evaluate query"), E, this->pcontext, this->ci); - return false; + /* It is not assumed to be an error */ + return true; } clang::Expr::EvalResult r; |