]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/path-lookup.c
path-lookup: drop redundant strv_isempty() check
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Feb 2017 14:17:18 +0000 (15:17 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Feb 2017 14:17:18 +0000 (15:17 +0100)
commitb9418b053aee15d1e8395dde89165fb89d9e6484
tree5a126f9894d3f176794be9a4c9295b347c54f33f
parentc49970743eb51ab27b4b021bc64412ac74af83af
path-lookup: drop redundant strv_isempty() check

If the strv is empty, then strv_extend_strv_concat() is a NOP anyway,
and hence there is no reason to guard for this explicitly.
src/shared/path-lookup.c