summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko2018-03-19 20:00:10 +0100
committerDenys Vlasenko2018-03-19 20:00:10 +0100
commitb3e98b1ccc86ae6a4b3ac242d48412a89ca8b8ed (patch)
tree4dd5af736331b500d69a5029d6bc5f88a9620dd7 /procps
parent3c08437db7b1d57224536d6433307f49180c9960 (diff)
downloadbusybox-b3e98b1ccc86ae6a4b3ac242d48412a89ca8b8ed.zip
busybox-b3e98b1ccc86ae6a4b3ac242d48412a89ca8b8ed.tar.gz
top: fix "warning: unused variable new_mask"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 075c96c..1b49a5e 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -1157,7 +1157,7 @@ int top_main(int argc UNUSED_PARAM, char **argv)
#endif
while (scan_mask != EXIT_MASK) {
- unsigned new_mask;
+ IF_FEATURE_TOP_INTERACTIVE(unsigned new_mask;)
procps_status_t *p = NULL;
if (OPT_BATCH_MODE) {