summaryrefslogtreecommitdiffstats
path: root/coccinelle/not_in_set.cocci
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-29 12:40:22 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-29 12:41:08 +0100
commit7b943bb7e3e2fad3481c7191edbfaeef0680b196 (patch)
treecdbc6c8016fef04137c80128eb92f47a057915be /coccinelle/not_in_set.cocci
parentbus-unit-util: properly serialize EnvironmentFile= empty assignment (diff)
downloadsystemd-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