tests: checksrc compliance

This commit is contained in:
Jay Satiro 2016-12-19 02:31:59 -05:00
parent d00f2a8f2e
commit c2402b6e02
4 changed files with 6 additions and 3 deletions

View File

@ -57,7 +57,8 @@ my %warnings = (
'UNUSEDIGNORE' => 'a warning ignore was not used',
'OPENCOMMENT' => 'file ended with a /* comment still "open"',
'ASTERISKSPACE' => 'pointer declared with space after asterisk',
'ASTERISKNOSPACE' => 'pointer declared without space before asterisk'
'ASTERISKNOSPACE' => 'pointer declared without space before asterisk',
'ASSIGNWITHINCONDITION' => 'assignment within conditional expression'
);
sub readwhitelist {

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
/* !checksrc! disable ASSIGNWITHINCONDITION all */
/* Now include the curl_setup.h file from libcurl's private libdir (the source
version, but that might include "curl_config.h" from the build dir so we
need both of them in the include path), so that we get good in-depth