extract_first_words deals fine with the string being NULL, so drop the upfront check for that.
c58bd76 tree-wide: make invocations of extract_first_word more uniform (#4627)
src/basic/extract-word.c | 2 +-
src/libsystemd/sd-network/sd-network.c | 14 +++-----
src/resolve/resolved-link.c | 61 ++++++++++++++------------------
src/shared/bus-unit-util.c | 12 ++-----
src/shared/condition.c | 3 +-
src/shared/nsflags.c | 5 ---
src/systemctl/systemctl.c | 15 +++-----
7 files changed, 40 insertions(+), 72 deletions(-)
Upstream: github.com