>From 0d02a593c1ddeb7c4bb49b26524498a388ce0a0f Mon Sep 17 00:00:00 2001
From: Tomas Paukrt <[email protected]>
Date: Sun, 9 Apr 2023 08:57:46 +0200
Subject: [PATCH] appletlib: fix "warning: unused variable applet_no"

Signed-off-by: Tomas Paukrt <[email protected]>
---
 libbb/appletlib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index d5335d3..d9cc484 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -918,7 +918,7 @@ int busybox_main(int argc UNUSED_PARAM, char **argv)
 # endif
 
 # if NUM_APPLETS > 0
-void FAST_FUNC show_usage_if_dash_dash_help(int applet_no, char **argv)
+void FAST_FUNC show_usage_if_dash_dash_help(int applet_no UNUSED_PARAM, char 
**argv)
 {
        /* Special case. POSIX says "test --help"
         * should be no different from e.g. "test --foo".
-- 
2.7.4

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to