projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c08437
)
top: fix "warning: unused variable new_mask"
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 19 Mar 2018 19:00:10 +0000
(20:00 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 19 Mar 2018 19:00:10 +0000
(20:00 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/top.c
patch
|
blob
|
history
diff --git
a/procps/top.c
b/procps/top.c
index 075c96c2792ec6e4ae99ca04e29f1d7d9dbd27e1..1b49a5e6b855e74a9338c60ab07230503ea66e4f 100644
(file)
--- 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) {