From: Victor Julien Date: Tue, 11 Feb 2025 11:56:21 +0000 (+0100) Subject: detect: remove unused args from detect flag storing X-Git-Tag: suricata-8.0.0-beta1~459 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b541c31cbfd6711ead0c6bf5c2150e259ea245c;p=thirdparty%2Fsuricata.git detect: remove unused args from detect flag storing --- 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);