mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
pid1: remove duplicate const attribute
gcc 7 started warning about this.
This commit is contained in:
@@ -697,7 +697,7 @@ _pure_ static const char *job_get_status_message_format(Unit *u, JobType t, JobR
|
||||
static void job_print_status_message(Unit *u, JobType t, JobResult result) {
|
||||
static const struct {
|
||||
const char *color, *word;
|
||||
} const statuses[_JOB_RESULT_MAX] = {
|
||||
} statuses[_JOB_RESULT_MAX] = {
|
||||
[JOB_DONE] = { ANSI_GREEN, " OK " },
|
||||
[JOB_TIMEOUT] = { ANSI_HIGHLIGHT_RED, " TIME " },
|
||||
[JOB_FAILED] = { ANSI_HIGHLIGHT_RED, "FAILED" },
|
||||
|
||||
Reference in New Issue
Block a user