Fix FileStoreData to properly zero out on init

This commit is contained in:
Gary Talent 2018-03-15 21:01:26 -05:00
parent 381c739e46
commit 8378af7564

View File

@ -45,7 +45,7 @@ class FileStoreTemplate: public FileStore {
using Buffer = ox::fs::NodeBuffer<size_t, FileStoreItem<size_t>>;
struct __attribute__((packed)) FileStoreData {
ox::LittleEndian<size_t> rootNode;
ox::LittleEndian<size_t> rootNode = 0;
};
size_t m_buffSize = 0;