From 41eef9246c6a3055e3876e3dd7aeaadecb4b76c0 Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 3 Apr 2024 14:10:21 +0200 Subject: Disable `-Wno-unused-parameter -Wno-unused-function`. (#2358) * unused parameters and functions pollute the code and decrease readability Signed-off-by: Toni Uhlig --- src/lib/protocols/rsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols/rsh.c') diff --git a/src/lib/protocols/rsh.c b/src/lib/protocols/rsh.c index 6addb7404..6048e2f54 100644 --- a/src/lib/protocols/rsh.c +++ b/src/lib/protocols/rsh.c @@ -139,7 +139,7 @@ static void ndpi_search_rsh(struct ndpi_detection_module_struct * ndpi_struct, flow->protos.rsh.command) < 0) str[0] = '\0'; - ndpi_set_risk(ndpi_struct, flow, NDPI_CLEAR_TEXT_CREDENTIALS, str); + ndpi_set_risk(flow, NDPI_CLEAR_TEXT_CREDENTIALS, str); } return; -- cgit v1.2.3