]> git.ipfire.org Git - thirdparty/curl.git/commit
checksrc: complain on == NULL or != 0 checks in conditions 6912/head
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 Apr 2021 08:45:29 +0000 (10:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Apr 2021 07:10:17 +0000 (09:10 +0200)
commit52fab72397687467650093c86e5479cb1d759042
tree110bb149efbbd303993a6019d61fac7da6dba0c8
parent063d3f3b96e40b3bf770d04d90612064b9a53c49
checksrc: complain on == NULL or != 0 checks in conditions

... to make them all consistenly use if(!var) and if(var)

Also added a few missing warnings to the documentation.

Closes #6912
docs/CHECKSRC.md
lib/checksrc.pl