Systemd/coccinelle
Zbigniew Jędrzejewski-Szmek 5d904a6aaa tree-wide: drop !! casts to booleans
They are not needed, because anything that is non-zero is converted
to true.

C11:
> 6.3.1.2: When any scalar value is converted to _Bool, the result is 0 if the
> value compares equal to 0; otherwise, the result is 1.

https://stackoverflow.com/questions/31551888/casting-int-to-bool-in-c-c
2018-06-13 10:52:40 +02:00
..
bool-cast.cocci tree-wide: drop !! casts to booleans 2018-06-13 10:52:40 +02:00
close-above-stdio.cocci
const-strlen.cocci
debug-logging.cocci
div-round-up.cocci
dup-fcntl.cocci
empty-or-root.cocci
empty-to-null.cocci
enotsup.cocci
equals-null.cocci
errno.cocci
exit-0.cocci
flags-set.cocci Add macro for checking if some flags are set 2018-06-04 11:50:44 +02:00
free_and_replace.cocci
hashmap_free.cocci
htonl.cocci
in_set.cocci
isempty.cocci
malloc_multiply.cocci
memzero.cocci
mfree.cocci
mfree_return.cocci
no-if-assignments.cocci
not_in_set.cocci
o-ndelay.cocci
reallocarray.cocci
run-coccinelle.sh cocinelle: use GNU parallel to run spatch 2018-06-13 10:52:33 +02:00
safe_close-no-if.cocci
safe_close.cocci
safe_closedir.cocci
safe_fclose.cocci
strempty.cocci
strjoin.cocci
strjoina.cocci
strv_free.cocci
take-fd.cocci
take-ptr.cocci
while-true.cocci
xsprintf.cocci