pid1: remove duplicate const attribute

gcc 7 started warning about this.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-01-27 00:25:20 -05:00
parent 21b6ff3684
commit 70954c50e7

View File

@@ -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" },