]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
Fix marked as false positive knownConditionTrueFalse cppcheck warnings
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Sun, 12 May 2024 15:40:51 +0000 (18:40 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Sun, 12 May 2024 17:24:00 +0000 (20:24 +0300)
commita1fbe8466072ebdd1986e9bdd6d4e3d46c1c7720
treee42bec44fb088a8840fb64abdc2cdee061fefbea
parentcd1e13d4d2bb296dbe53da9674a0a466072bc08e
Fix marked as false positive knownConditionTrueFalse cppcheck warnings

std::make_shared<> does not return null, it throws std::bad_alloc.
src/nfa/goughcompile.cpp
src/nfagraph/ng_som.cpp
src/nfagraph/ng_violet.cpp
src/rose/rose_build_convert.cpp