diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-11-29 12:40:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-29 12:41:08 +0100 |
commit | 7b943bb7e3e2fad3481c7191edbfaeef0680b196 (patch) | |
tree | cdbc6c8016fef04137c80128eb92f47a057915be /coccinelle/not_in_set.cocci | |
parent | bus-unit-util: properly serialize EnvironmentFile= empty assignment (diff) | |
download | systemd-7b943bb7e3e2fad3481c7191edbfaeef0680b196.tar.xz systemd-7b943bb7e3e2fad3481c7191edbfaeef0680b196.zip |
tree-wide: use strv_isempty() instead of strv_length() == 0
It's a lot faster in many cases, since it's O(1) rather than O(n).
Diffstat (limited to 'coccinelle/not_in_set.cocci')
0 files changed, 0 insertions, 0 deletions