From 9987ecd4a0cbd3fe54a24705e0cfb95db069598b Mon Sep 17 00:00:00 2001 From: gtsoul-tech Date: Fri, 31 May 2024 10:34:55 +0300 Subject: [PATCH] clang-analyzer-cplusplus.Move --- util/ng_corpus_generator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/ng_corpus_generator.cpp b/util/ng_corpus_generator.cpp index 69e7c4ef..e0197b56 100644 --- a/util/ng_corpus_generator.cpp +++ b/util/ng_corpus_generator.cpp @@ -185,8 +185,8 @@ void findPaths(const NGHolder &g, CorpusProperties &cProps, continue; } - if (p && !contains(one_way_in, v) && - has_greater_than(p->begin(), p->end(), v, cycleLimit)) { + if (!contains(one_way_in, v) && + has_greater_than(p->begin(), p->end(), v, cycleLimit)) { //NOLINT (clang-analyzer-cplusplus.Move) // Note that vertices that only have one predecessor don't need // their cycle limit checked, as their predecessors will have // the same count.