provide more includes to Cppcheck

- added (temporary) suppression of Cppcheck `shiftTooManyBits` false positives in `libxrdp/xrdp_mppc_enc.c`
- added (temporary) suppression of Cppcheck `uninitMemberVar` true positives in `ulalaca/ulalaca.cpp` until fixes land downstream
- fix Cppcheck `nullPointerRedundantCheck` in `sesman/chansrv/clipboard.c`
- fix Cppcheck `syntaxError` in `fontutils/mkfv1.c` because it doesn't see the `freetype/fterrors.h` header / removed astyle workaround
This commit is contained in:
firewave
2023-09-04 11:32:12 +02:00
parent b1fca0100e
commit f687174af1
5 changed files with 21 additions and 16 deletions
+3 -5
View File
@@ -37,11 +37,9 @@ static const struct
const char *err_msg;
} ft_errors[] =
#include <freetype/fterrors.h>
#if 0
/* These lines fix problems with astyle formatting following the ft_errors
* definition */
}
#ifdef __cppcheck__
// avoid syntaxError by providing the array contents
{};
#endif