From 1b541c31cbfd6711ead0c6bf5c2150e259ea245c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 11 Feb 2025 12:56:21 +0100 Subject: [PATCH] detect: remove unused args from detect flag storing --- src/detect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/detect.c b/src/detect.c index 1f16961244..f7ef724fde 100644 --- a/src/detect.c +++ b/src/detect.c @@ -1363,8 +1363,8 @@ static DetectTransaction GetDetectTx(const uint8_t ipproto, const AppProto alpro return tx; } -static inline void StoreDetectFlags(DetectTransaction *tx, const uint8_t flow_flags, - const uint8_t ipproto, const AppProto alproto, const uint64_t detect_flags) +static inline void StoreDetectFlags( + DetectTransaction *tx, const uint8_t flow_flags, const uint64_t detect_flags) { AppLayerTxData *txd = (AppLayerTxData *)tx->tx_data_ptr; if (likely(txd != NULL)) { @@ -1675,7 +1675,7 @@ static void DetectRunTx(ThreadVars *tv, SCLogDebug("%p/%"PRIu64" Storing new flags %016"PRIx64" (was %016"PRIx64")", tx.tx_ptr, tx.tx_id, new_detect_flags, tx.detect_flags); - StoreDetectFlags(&tx, flow_flags, ipproto, alproto, new_detect_flags); + StoreDetectFlags(&tx, flow_flags, new_detect_flags); } InspectionBufferClean(det_ctx); -- 2.47.2