coccinelle: beef up isempty() checks (#7729)
authorLennart Poettering <lennart@poettering.net>
Sat, 23 Dec 2017 07:47:55 +0000 (08:47 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 23 Dec 2017 07:47:55 +0000 (08:47 +0100)
commit7e985c69832b261a60fc00cc84d7a47a31fcb008
treee910c12d2c75a5b6540c8aeb45bd87a8a739a9e0
parent5526ac50fe3f87450786b8d0fcc9d93bb9a75940
coccinelle: beef up isempty() checks (#7729)

With these additions, coccinelle finds everything fixed by the first
commit in PR #7695. In order not to needlessly conflict with that PR
this PR won't include those fixes, but only the coccinelle changes to
detect them automatically in the future.
coccinelle/isempty.cocci