summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Paukrt <tomaspaukrt@email.cz>2023-04-09 10:18:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2023-04-10 16:56:55 +0200
commit85e4805ae94ce653d8088d6575dc01114cd00bcf (patch)
tree5c98d6de881059ec3340272febe6537f51d9b6d4
parent7362d2979434c565ae70b0ccf9d4b09d7597fb48 (diff)
downloadbusybox-85e4805ae94ce653d8088d6575dc01114cd00bcf.tar.gz
appletlib: fix "warning: unused variable applet_no"
Signed-off-by: Tomas Paukrt <tomaspaukrt@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/appletlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index d5335d353..d9cc48423 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".