Inline cppcheck suppressions

This commit is contained in:
Eduardo Arias
2024-04-28 11:34:37 -03:00
parent 0c38023b21
commit 4aad8e0d06
11 changed files with 18 additions and 32 deletions

View File

@@ -67,8 +67,8 @@ class Lua {
public:
Lua() { }
bool load(const std::string &script, std::string *err);
int run(Transaction *t, const std::string &str="");
bool load(const std::string &script, std::string *err); // cppcheck-suppress functionStatic ; triggered when compiling without LUA
int run(Transaction *t, const std::string &str = ""); // cppcheck-suppress functionStatic ; triggered when compiling without LUA
static bool isCompatible(const std::string &script, Lua *l, std::string *error);
#ifdef WITH_LUA