summaryrefslogtreecommitdiff
path: root/libsqlitepp/unittests/testsqlite.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:45:48 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:45:48 +0100
commit5c72a2b6a0076d85ce12884bca3b1de89df4db1b (patch)
treee702c2a123407ac556e32b15144bf5eba99f4277 /libsqlitepp/unittests/testsqlite.cpp
parentAdd JT recommended warnings (diff)
downloadlibdbpp-sqlite-5c72a2b6a0076d85ce12884bca3b1de89df4db1b.tar.bz2
libdbpp-sqlite-5c72a2b6a0076d85ce12884bca3b1de89df4db1b.tar.xz
libdbpp-sqlite-5c72a2b6a0076d85ce12884bca3b1de89df4db1b.zip
Pass cppcheck and clang-tidy
Diffstat (limited to 'libsqlitepp/unittests/testsqlite.cpp')
-rw-r--r--libsqlitepp/unittests/testsqlite.cpp1
1 files changed, 1 insertions, 0 deletions
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());
}