diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-08-19 20:49:50 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-08-19 20:49:50 +0100 |
commit | 28f069bfc59bb14ae7a017f2981ee9444e841921 (patch) | |
tree | 1732ec7b79b25b61bfeca40fcce938b1767d34d6 | |
parent | Add helper class for working within a transaction with DB clients (diff) | |
download | icetray-28f069bfc59bb14ae7a017f2981ee9444e841921.tar.bz2 icetray-28f069bfc59bb14ae7a017f2981ee9444e841921.tar.xz icetray-28f069bfc59bb14ae7a017f2981ee9444e841921.zip |
Enable all cppcheck checks and fixup
-rw-r--r-- | Jamroot.jam | 1 | ||||
-rw-r--r-- | icetray/tool/icetraySql.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 9ed5a3e..40a65b5 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -34,6 +34,7 @@ project <toolset>gcc,<variant>debug:<cflags>-Wuseless-cast <variant>coverage:<coverage>on <variant>coverage:<define>COVERAGE + <toolset>tidy:<enable>all <toolset>tidy:<exclude>icetray/bin/logWriter.h <toolset>tidy:<exclude>icetray/bin/mail.h <toolset>tidy:<exclude>icetray/bin/mime.h diff --git a/icetray/tool/icetraySql.cpp b/icetray/tool/icetraySql.cpp index ef55711..1678f7f 100644 --- a/icetray/tool/icetraySql.cpp +++ b/icetray/tool/icetraySql.cpp @@ -55,6 +55,7 @@ AdHocFormatter(OpenNamespace, "namespace %? {\n"); AdHocFormatter(CloseNamespace, "} // %?\n"); int +// NOLINTNEXTLINE(bugprone-exception-escape) main(int argc, char ** argv) { po::options_description opts("IceTray SQL-to-C++ precompiler"); |