mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 11:16:29 +03:00
ddressing some cppcheck warnings. yes this will be cleaned up in a
following commit. tests pass.
This commit is contained in:
@@ -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);
|
||||
|
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user