Fix FileStoreData to properly zero out on init
This commit is contained in:
parent
381c739e46
commit
8378af7564
@ -45,7 +45,7 @@ class FileStoreTemplate: public FileStore {
|
|||||||
using Buffer = ox::fs::NodeBuffer<size_t, FileStoreItem<size_t>>;
|
using Buffer = ox::fs::NodeBuffer<size_t, FileStoreItem<size_t>>;
|
||||||
|
|
||||||
struct __attribute__((packed)) FileStoreData {
|
struct __attribute__((packed)) FileStoreData {
|
||||||
ox::LittleEndian<size_t> rootNode;
|
ox::LittleEndian<size_t> rootNode = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t m_buffSize = 0;
|
size_t m_buffSize = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user