From 5c72a2b6a0076d85ce12884bca3b1de89df4db1b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 18 Sep 2021 14:45:48 +0100 Subject: Pass cppcheck and clang-tidy --- libsqlitepp/unittests/testsqlite.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libsqlitepp/unittests') diff --git a/libsqlitepp/unittests/testsqlite.cpp b/libsqlitepp/unittests/testsqlite.cpp index 37f17ce..5a14bfb 100644 --- a/libsqlitepp/unittests/testsqlite.cpp +++ b/libsqlitepp/unittests/testsqlite.cpp @@ -43,6 +43,7 @@ BOOST_AUTO_TEST_CASE(bindAndSend) mod->bindParamF(1, testDouble); mod->bindParamS(2, testString); mod->execute(); + // cppcheck-suppress assertWithSideEffect BOOST_REQUIRE_EQUAL(2, rw->insertId()); } -- cgit v1.2.3