top: fix "warning: unused variable new_mask"

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-03-19 20:00:10 +01:00
parent 3c08437db7
commit b3e98b1ccc

View File

@ -1157,7 +1157,7 @@ int top_main(int argc UNUSED_PARAM, char **argv)
#endif #endif
while (scan_mask != EXIT_MASK) { while (scan_mask != EXIT_MASK) {
unsigned new_mask; IF_FEATURE_TOP_INTERACTIVE(unsigned new_mask;)
procps_status_t *p = NULL; procps_status_t *p = NULL;
if (OPT_BATCH_MODE) { if (OPT_BATCH_MODE) {