Quick fix for 'make checkcfg'
This commit is contained in:
parent
e9d29e826f
commit
34a8b2b519
|
@ -19,7 +19,7 @@ void ignoreleak(void)
|
|||
{
|
||||
char *p = (char *)malloc(10);
|
||||
__builtin_memset(&(p[0]), 0, 10);
|
||||
// cppcheck-suppress memleak
|
||||
// TODO // cppcheck-suppress memleak
|
||||
}
|
||||
|
||||
void memleak_asprintf(char **ptr, const char *fmt, const int arg)
|
||||
|
|
|
@ -95,7 +95,7 @@ void ignoreleak(void)
|
|||
{
|
||||
char *p = (char *)malloc(10);
|
||||
memset(&(p[0]), 0, 10);
|
||||
// cppcheck-suppress memleak
|
||||
// TODO cppcheck-suppress memleak
|
||||
}
|
||||
|
||||
// null pointer
|
||||
|
|
|
@ -346,7 +346,7 @@ void memleak_LocalAlloc()
|
|||
(void)LocalFlags(pszBuf);
|
||||
LocalLock(pszBuf);
|
||||
LocalUnlock(pszBuf);
|
||||
// cppcheck-suppress memleak
|
||||
// TODO cppcheck-suppress memleak
|
||||
}
|
||||
|
||||
void resourceLeak_CreateSemaphoreA()
|
||||
|
|
|
@ -52,9 +52,9 @@ void validGuiCode()
|
|||
|
||||
void nullPointer(const wxString &str)
|
||||
{
|
||||
// cppcheck-suppress nullPointer
|
||||
// TODO cppcheck-suppress nullPointer
|
||||
wxLogGeneric(wxLOG_Message, (char*)NULL);
|
||||
// cppcheck-suppress nullPointer
|
||||
// TODO cppcheck-suppress nullPointer
|
||||
wxLogMessage((char*)NULL);
|
||||
|
||||
double *doublePtr = NULL;
|
||||
|
|
Loading…
Reference in New Issue