Kernel: Fix uninitialized member variable in FATFS Filesystem

Reported-by: PVS Studio
This commit is contained in:
Brian Gianforcaro 2022-12-29 18:34:50 -08:00 committed by Andreas Kling
parent 19a87fce36
commit bfa890251c
Notes: sideshowbarker 2024-07-17 01:37:55 +09:00

View File

@ -45,9 +45,9 @@ private:
BlockBasedFileSystem::BlockIndex first_block_of_cluster(u32 cluster) const;
OwnPtr<KBuffer> m_boot_record;
LockRefPtr<FATInode> m_root_inode;
u32 m_first_data_sector;
OwnPtr<KBuffer> m_boot_record {};
LockRefPtr<FATInode> m_root_inode {};
u32 m_first_data_sector { 0 };
};
}