Running cppcheck with every build

This commit is contained in:
Pavel Kirienko
2014-02-01 17:04:56 +04:00
parent d77d2967e0
commit b385ffb12e
4 changed files with 25 additions and 3 deletions
+3 -1
View File
@@ -30,7 +30,9 @@ struct CanFrame
CanFrame()
: id(0)
, dlc(0)
{ }
{
std::memset(data, 0, sizeof(data));
}
CanFrame(uint32_t id, const uint8_t* data, unsigned int dlc)
: id(id)