← Commit list

376b2ceff

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2021-10-10
SUCCESS Duration: 153s

Subject

chrt: silence analyzer warning

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 →

util-linux/chrt.c+1 -1
@@ -93,7 +93,7 @@ int chrt_main(int argc UNUSED_PARAM, char **argv)
unsigned opt;
struct sched_param sp;
char *pid_str;
- char *priority = priority; /* for compiler */
+ char *priority = NULL;
const char *current_new;
int policy = SCHED_RR;
int ret;