1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

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

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 };
};
}