fix some cppcheck warnings

This commit is contained in:
Mike Kinney
2022-01-24 07:00:14 +00:00
parent 8a79ede285
commit b3210f6c2c
20 changed files with 82 additions and 45 deletions

View File

@@ -14,9 +14,9 @@
*/
class SimpleAllocator
{
uint8_t bytes[POOL_SIZE];
uint8_t bytes[POOL_SIZE] = {};
uint32_t nextFree;
uint32_t nextFree = 0;
public:
SimpleAllocator();