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:
+3
-5
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user