cppcheck warning suppressions

This commit is contained in:
Pavel Kirienko
2014-08-03 14:27:33 +04:00
parent 63843285a0
commit 6c972e6ba5
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ struct UAVCAN_EXPORT IsDynamicallyAllocatable
{
static void check()
{
char dummy[(sizeof(T) <= MemPoolBlockSize) ? 1 : -1];
char dummy[(sizeof(T) <= MemPoolBlockSize) ? 1 : -1] = { '0' };
(void)dummy;
}
};