From 82d1c1f84ae23793d81b50aa0a753ad7c4db4f51 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 31 Dec 2017 17:30:02 +0100 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- procps/kill.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/kill.c b/procps/kill.c index 24cc903fc..c95afb8b3 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -108,7 +108,10 @@ int kill_main(int argc UNUSED_PARAM, char **argv) { char *arg; pid_t pid; - int signo = SIGTERM, errors = 0, quiet = 0; + int signo = SIGTERM, errors = 0; +#if ENABLE_KILL || ENABLE_KILLALL + int quiet = 0; +#endif #if KILL_APPLET_CNT == 1 # define is_killall ENABLE_KILLALL @@ -170,7 +173,9 @@ int kill_main(int argc UNUSED_PARAM, char **argv) /* The -q quiet option */ if (is_killall && arg[1] == 'q' && arg[2] == '\0') { +#if ENABLE_KILL || ENABLE_KILLALL quiet = 1; +#endif arg = *++argv; if (!arg) bb_show_usage(); -- cgit v1.2.3