From bd1c133fa1b4b2573cbe86976e0d7d3af8905924 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Tue, 22 Dec 2020 12:17:50 +0100 Subject: [PATCH] Work around clang-analyzer-unix.Malloc false positive --- src/engine/shared/demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/demo.cpp b/src/engine/shared/demo.cpp index d2690a6ff..7718f26bd 100644 --- a/src/engine/shared/demo.cpp +++ b/src/engine/shared/demo.cpp @@ -1161,7 +1161,7 @@ void CDemoEditor::Slice(const char *pDemo, const char *pDst, int StartTick, int m_pDemoPlayer->Stop(); m_pDemoRecorder->Stop(); -} +} // NOLINT(clang-analyzer-unix.Malloc) void CDemoEditor::OnDemoPlayerSnapshot(void *pData, int Size) {