mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
Merge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others
Fix marked as done cppcheck warnings unreadVariable & others
This commit is contained in:
@@ -55,7 +55,6 @@ unique_ptr<hs_platform_info> xcompileReadMode(const char *s) {
|
||||
assert(!err);
|
||||
|
||||
string str(s);
|
||||
//string mode = str.substr(0, str.find(":"));
|
||||
string opt = str.substr(str.find(":")+1, str.npos);
|
||||
bool found_mode = false;
|
||||
|
||||
|
@@ -221,7 +221,7 @@ class CorpusGeneratorImpl : public CorpusGenerator {
|
||||
public:
|
||||
CorpusGeneratorImpl(const NGHolder &graph_in, const ExpressionInfo &expr_in,
|
||||
CorpusProperties &props);
|
||||
~CorpusGeneratorImpl() = default;
|
||||
virtual ~CorpusGeneratorImpl() = default;
|
||||
|
||||
void generateCorpus(vector<string> &data) override;
|
||||
|
||||
|
Reference in New Issue
Block a user