core: unit_get_status_message_format() never returns NULL
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 20 Jul 2015 16:36:12 +0000 (18:36 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Tue, 21 Jul 2015 16:48:45 +0000 (18:48 +0200)
commitb5bf308ba50ab0bac0f0caec2d8e4d5c75c107d0
treea305a8643605f181a0e871ec49ff6feac36326af
parenta85ca902c9f7f5aa8f2f3e3299147733802cf09d
core: unit_get_status_message_format() never returns NULL

unit_get_status_message_format() is used only with one of JOB_START,
JOB_STOP, JOB_RELOAD, all of which have fallback message strings
defined, so the function may never return NULL.
src/core/unit.c