ddressing some cppcheck warnings. yes this will be cleaned up in a

following commit. tests pass.
This commit is contained in:
G.E
2024-04-23 19:08:24 +03:00
parent 6e306a508e
commit 01dee390a9
9 changed files with 23 additions and 23 deletions

View File

@@ -152,7 +152,7 @@ bool HS_CDECL readExpression(const std::string &input, std::string &expr,
UNUSED const char *eof = pe;
UNUSED const char *ts = p, *te = p;
int cs;
UNUSED int act;
//UNUSED int act;
assert(p);
assert(pe);

View File

@@ -47,7 +47,7 @@ class NGHolder;
} // namespace ue2
struct CorpusGenerationFailure {
explicit CorpusGenerationFailure(const std::string s) :
explicit CorpusGenerationFailure(const std::string& s) :
message(std::move(s)) {}
std::string message;
};