chiark / gitweb /
tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`
authorAndreas Rammhold <andreas@rammhold.de>
Fri, 29 Sep 2017 07:58:22 +0000 (09:58 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 29 Sep 2017 07:58:22 +0000 (09:58 +0200)
commit47a7397766e88d24f3aad16d9ca2b77233f4ebca
tree70d7b619dd8e8853dfc438de2e80051867625ea7
parenta4488a7509a96d8b9f0d7793517a217c70ac0361
tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`

The included cocci was used to generate the changes.

Thanks to @flo-wer for pointing this case out.
coccinelle/not_in_set.cocci [new file with mode: 0644]
src/basic/rm-rf.c
src/basic/socket-util.c
src/login/logind-user.c