mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
234519ae6d
Our CODING_STYLE suggests not comparing with NULL, but relying on C's downgrade-to-bool feature for that. Fix up some code to match these guidelines. (This is not comprehensive, the coccinelle output for this is unfortunately kinda borked) |
||
---|---|---|
.. | ||
empty-if.cocci | ||
empty-to-null.cocci | ||
equals-null.cocci | ||
errno.cocci | ||
free_and_replace.cocci | ||
hashmap_free.cocci | ||
htonl.cocci | ||
in_set.cocci | ||
isempty.cocci | ||
mfree_return.cocci | ||
mfree.cocci | ||
no-if-assignments.cocci | ||
not_in_set.cocci | ||
run-coccinelle.sh | ||
safe_close-no-if.cocci | ||
safe_close.cocci | ||
safe_closedir.cocci | ||
safe_fclose.cocci | ||
strempty.cocci | ||
strjoin.cocci | ||
strjoina.cocci | ||
strv_free.cocci | ||
while-true.cocci | ||
xsprintf.cocci |