[git commit] appletlib: fix "warning: unused variable applet_no"
Denys Vlasenko
vda.linux at googlemail.com
Mon Apr 10 14:56:55 UTC 2023
commit: https://git.busybox.net/busybox/commit/?id=85e4805ae94ce653d8088d6575dc01114cd00bcf
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Tomas Paukrt <tomaspaukrt at email.cz>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
libbb/appletlib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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".
More information about the busybox-cvs
mailing list