← Commit list

b3e98b1cc

Denys Vlasenko
Denys Vlasenko
2018-03-19
SUCCESS Duration: 140s

Subject

top: fix "warning: unused variable new_mask"

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/top.c+1 -1
@@ -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) {