aboutsummaryrefslogtreecommitdiff
path: root/src/dbwrapper.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-07-19 15:51:47 +0100
committerfanquake <fanquake@gmail.com>2023-08-03 17:52:24 +0100
commit1c976c691cc4b20f43071aabf36c7afed1571057 (patch)
treed81d4a689e0e8966879c7123eb1e6a154a7c26df /src/dbwrapper.cpp
parent7de23cceb8ac13fcc709453ef0fa14fb93c460b0 (diff)
tidy: Integrate bicoin-tidy clang-tidy plugin
Enable `bitcoin-unterminated-logprintf`. Co-authored-by: Cory Fields <cory-nospam-@coryfields.com>
Diffstat (limited to 'src/dbwrapper.cpp')
-rw-r--r--src/dbwrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp
index 91dc731a4c..7cf6bef90f 100644
--- a/src/dbwrapper.cpp
+++ b/src/dbwrapper.cpp
@@ -76,7 +76,7 @@ public:
assert(p <= limit);
base[std::min(bufsize - 1, (int)(p - base))] = '\0';
- LogPrintLevel(BCLog::LEVELDB, BCLog::Level::Debug, "%s", base);
+ LogPrintLevel(BCLog::LEVELDB, BCLog::Level::Debug, "%s", base); // NOLINT(bitcoin-unterminated-logprintf)
if (base != buffer) {
delete[] base;
}