From 6142077656aae3270e99874d495ba9eeabb5b528 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 19 Sep 2026 17:45:12 +0800 Subject: [PATCH] Chore: eliminates a compiler warning --- src/detection/top/top_bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/top/top_bsd.c b/src/detection/top/top_bsd.c index 108e5e97e..587ac2fb4 100644 --- a/src/detection/top/top_bsd.c +++ b/src/detection/top/top_bsd.c @@ -6,7 +6,7 @@ #include #include -const char* ffTopGetProcessSnapshot(FFlist* snapshots, FFTopTypes showTypes) { +const char* ffTopGetProcessSnapshot(FFlist* snapshots, [[maybe_unused]] FFTopTypes showTypes) { int request[] = { CTL_KERN, KERN_PROC, KERN_PROC_PROC }; size_t length;