From 96aae59e9c58ddc9e143f7015011a6fa81976b31 Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 1 Apr 2022 11:09:50 +0300 Subject: Kernel: Initialize primitive data members of SysFS BIOS classes --- Kernel/Firmware/BIOS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel/Firmware/BIOS.h') diff --git a/Kernel/Firmware/BIOS.h b/Kernel/Firmware/BIOS.h index 982d290cd3..43619be974 100644 --- a/Kernel/Firmware/BIOS.h +++ b/Kernel/Firmware/BIOS.h @@ -78,7 +78,7 @@ private: DMIEntryPointExposedBlob(PhysicalAddress dmi_entry_point, size_t blob_size); virtual ErrorOr> try_to_generate_buffer() const override; PhysicalAddress m_dmi_entry_point; - size_t m_dmi_entry_point_length; + size_t m_dmi_entry_point_length { 0 }; }; class SMBIOSExposedTable : public BIOSSysFSComponent { @@ -91,7 +91,7 @@ private: virtual ErrorOr> try_to_generate_buffer() const override; PhysicalAddress m_smbios_structure_table; - size_t m_smbios_structure_table_length; + size_t m_smbios_structure_table_length { 0 }; }; class BIOSSysFSDirectory : public SysFSDirectory { -- cgit v1.2.3