From f56501215f356b20f31a32471816efdc768973b8 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 29 Jan 2026 22:32:04 +0100 Subject: [PATCH] detect/file: reorder struct fields to reduce padding and make scan-build happy --- src/detect-file-data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-file-data.c b/src/detect-file-data.c index c3201bf095..d733b8782e 100644 --- a/src/detect-file-data.c +++ b/src/detect-file-data.c @@ -68,8 +68,8 @@ int PrefilterMpmFiledataRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, Mpm // file protocols with common file handling typedef struct { - AppProto alproto; int direction; + AppProto alproto; uint8_t to_client_progress; uint8_t to_server_progress; } DetectFileHandlerProtocol_t;