aboutsummaryrefslogtreecommitdiff
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-w32-85e4805ae94ce653d8088d6575dc01114cd00bcf.tar.gz
busybox-w32-85e4805ae94ce653d8088d6575dc01114cd00bcf.tar.bz2
busybox-w32-85e4805ae94ce653d8088d6575dc01114cd00bcf.zip
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)
918# endif 918# endif
919 919
920# if NUM_APPLETS > 0 920# if NUM_APPLETS > 0
921void FAST_FUNC show_usage_if_dash_dash_help(int applet_no, char **argv) 921void FAST_FUNC show_usage_if_dash_dash_help(int applet_no UNUSED_PARAM, char **argv)
922{ 922{
923 /* Special case. POSIX says "test --help" 923 /* Special case. POSIX says "test --help"
924 * should be no different from e.g. "test --foo". 924 * should be no different from e.g. "test --foo".