From db589765e4f2714546dc653948afe19672c61bec Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 6 Dec 2024 14:09:33 +0100 Subject: [PATCH] eve/frame: remove unreachable if branch --- src/output-json-frame.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/output-json-frame.c b/src/output-json-frame.c index 90224240f4..41c5283294 100644 --- a/src/output-json-frame.c +++ b/src/output-json-frame.c @@ -390,8 +390,6 @@ static int FrameJson(ThreadVars *tv, JsonFrameLogThread *aft, const Packet *p) OutputJsonBuilderBuffer(tv, p, p->flow, jb, aft->ctx); jb_free(jb); frame->flags |= FRAME_FLAG_LOGGED; - } else if (frame != NULL) { - SCLogDebug("frame %p id %" PRIi64, frame, frame->id); } } return TM_ECODE_OK;