mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 18:53:21 +01:00
log: Remove NOLINT(bitcoin-unterminated-logprintf)
This commit is contained in:
@@ -100,7 +100,7 @@ public:
|
||||
|
||||
assert(p <= limit);
|
||||
base[std::min(bufsize - 1, (int)(p - base))] = '\0';
|
||||
LogPrintLevel(BCLog::LEVELDB, BCLog::Level::Debug, "%s", base); // NOLINT(bitcoin-unterminated-logprintf)
|
||||
LogDebug(BCLog::LEVELDB, "%s\n", util::RemoveSuffixView(base, "\n"));
|
||||
if (base != buffer) {
|
||||
delete[] base;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user