Update Cppcheck exclusions.

This commit is contained in:
Michael R Sweet 2021-06-04 11:03:15 -04:00
parent ee5fcc2a4a
commit 88bf3e710f
No known key found for this signature in database
GPG Key ID: 999559A027815955

View File

@ -1,29 +1,20 @@
// Cppcheck bug: does not validate loop constraints properly...
arrayIndexOutOfBounds:printer-driver.c
// Bad CERT recommendation: C memory layout not determined by variable locations
cert-API01-C
// Cppcheck doesn't know enough about variables to know whether they are
// uninitialized...
uninitvar
// Don't report non-const casts. Inline suppression comments are not working,
// otherwise we'd be more selective...
cert-EXP05-C:device.c
cert-EXP05-C:device-network.c
cert-EXP05-C:device-usb.c
cert-EXP05-C:link.c
cert-EXP05-C:mainloop-subcommands.c
cert-EXP05-C:resource.c
cert-EXP05-C:system-webif.c
cert-EXP05-C:util.c
cert-EXP05-C
// Not handling "(unsigned)~CONSTANT" properly...
cert-INT31-c
// fopen_s is NOT supported on POSIX platforms and DOES NOT APPLY for reading
// of files!
cert-MSC24-C:job-filter.c
// char something[###] = "constant" should not result in an error!
cert-STR05-C:system-webif.c
cert-MSC24-C
// Not sure why this is a thing...
preprocessorErrorDirective