1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-31 00:03:08 +03:00

checksrc: update and fix warnings (#890)

Update from:
5fec927374/scripts/checksrc.pl

- suppress these new checks:

  - EQUALSNULL: 320 warnings
  - NOTEQUALSZERO: 142 warnings
  - TYPEDEFSTRUCT: 16 warnings

  We can enabled them in the future.

- fix all other new ones.

- also fix whitespace in two `NMakefile` files.
This commit is contained in:
Viktor Szakats
2023-03-28 09:37:46 +02:00
committed by GitHub
parent 480965e2d9
commit 4b800182c5
16 changed files with 272 additions and 97 deletions

View File

@ -164,7 +164,7 @@ struct test_case test_cases[TEST_CASES_LEN] = {
"\0\0\0\x0aResponse: "
"\x01"
, 89, {PASS, 0, ""}},
/* three prompts, 3rd missing*/
/* three prompts, 3rd missing */
{
"<"
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x03"