mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
log: Remove NOLINT(bitcoin-unterminated-logprintf)
This commit is contained in:
parent
ec74f45741
commit
fa18fc7050
3 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue