From 11bf60aa3a8476323403ec06c8259c4e7e182855 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 29 Dec 2023 09:22:14 +0100 Subject: [PATCH] detect/mpm: minor cleanup --- src/detect-engine-mpm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/detect-engine-mpm.c b/src/detect-engine-mpm.c index 84f9a6c8fe..02e63c5f89 100644 --- a/src/detect-engine-mpm.c +++ b/src/detect-engine-mpm.c @@ -944,10 +944,8 @@ uint32_t PatternStrength(uint8_t *pat, uint16_t patlen) return s; } -static void PopulateMpmHelperAddPattern(MpmCtx *mpm_ctx, - const DetectContentData *cd, - const Signature *s, uint8_t flags, - int chop) +static void PopulateMpmHelperAddPattern(MpmCtx *mpm_ctx, const DetectContentData *cd, + const Signature *s, const uint8_t flags, const int chop) { uint16_t pat_offset = cd->offset; uint16_t pat_depth = cd->depth; -- 2.47.2