summaryrefslogtreecommitdiff
path: root/libodbcpp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:45:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:45:38 +0100
commit3eb8f4b130eb815aa3ff7cfbb89d05ebce216350 (patch)
tree718c365eca4e99d45a906c2978c788f33d8501a6 /libodbcpp/unittests
parentAdd JT recommended warnings (diff)
downloadlibdbpp-odbc-3eb8f4b130eb815aa3ff7cfbb89d05ebce216350.tar.bz2
libdbpp-odbc-3eb8f4b130eb815aa3ff7cfbb89d05ebce216350.tar.xz
libdbpp-odbc-3eb8f4b130eb815aa3ff7cfbb89d05ebce216350.zip
Pass cppcheck and clang-tidy
Diffstat (limited to 'libodbcpp/unittests')
-rw-r--r--libodbcpp/unittests/testodbc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libodbcpp/unittests/testodbc.cpp b/libodbcpp/unittests/testodbc.cpp
index 1b3c42a..0d78d1a 100644
--- a/libodbcpp/unittests/testodbc.cpp
+++ b/libodbcpp/unittests/testodbc.cpp
@@ -50,6 +50,7 @@ BOOST_AUTO_TEST_CASE(bindAndSend)
mod->bindParamS(2, testString);
mod->bindParamB(3, testBool);
mod->bindParamT(4, testDateTime);
+ // cppcheck-suppress assertWithSideEffect
BOOST_CHECK_EQUAL(1, mod->execute());
}