diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-27 22:49:09 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-27 22:49:09 +0100 |
commit | 26a10f93bcbdd7a90a94b8d277f243bf37919f7f (patch) | |
tree | d378c38067728d2b1b62dce86b6e0f9f45dfb28f | |
parent | Add missing include (diff) | |
download | libdbpp-main.tar.bz2 libdbpp-main.tar.xz libdbpp-main.zip |
Enable all cppcheck checks and fixupHEADlibdbpp-1.4.9main
-rw-r--r-- | Jamroot.jam | 1 | ||||
-rw-r--r-- | libdbpp/createMockDb.cpp | 1 | ||||
m--------- | libdbpp/unittests/libdbpp-mysql | 0 | ||||
m--------- | libdbpp/unittests/libdbpp-postgresql | 0 |
4 files changed, 2 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index a04d148..ac02597 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -31,6 +31,7 @@ project <toolset>gcc,<variant>debug:<cflags>-Wlogical-op <toolset>gcc,<variant>debug:<cflags>-Wuseless-cast <variant>coverage:<coverage>on + <toolset>tidy:<enable>all <toolset>tidy:<checkxx>boost-* <toolset>tidy:<checkxx>bugprone-* <toolset>tidy:<xcheckxx>bugprone-easily-swappable-parameters diff --git a/libdbpp/createMockDb.cpp b/libdbpp/createMockDb.cpp index aa47fba..19d8623 100644 --- a/libdbpp/createMockDb.cpp +++ b/libdbpp/createMockDb.cpp @@ -73,6 +73,7 @@ main(int argc, char ** argv) std::cout << " done." << std::endl; std::set_terminate(nullptr); + // cppcheck-suppress knownConditionTrueFalse if (!drop) { std::cout << "Done. ctrl+c to tear down and exit." << std::endl; signal(SIGINT, &emptyHandler); diff --git a/libdbpp/unittests/libdbpp-mysql b/libdbpp/unittests/libdbpp-mysql -Subproject aae2742b9dbc2a5908459372d75e11a0fdec5cb +Subproject f40e3690b8e8d43a48f5ec3cec0179fda7fc988 diff --git a/libdbpp/unittests/libdbpp-postgresql b/libdbpp/unittests/libdbpp-postgresql -Subproject 354bb1630c5ae72d298a7ce13c1118106bfaf7b +Subproject bf628321e51263db33cbee5beb78e2cacaa9ea3 |