summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Kernel/KernelKit/DeviceManager.hpp4
-rw-r--r--Kernel/StorageKit/AHCI.hpp4
-rw-r--r--Kernel/StorageKit/ATA.hpp4
-rw-r--r--Kernel/StorageKit/NVME.hpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/Kernel/KernelKit/DeviceManager.hpp b/Kernel/KernelKit/DeviceManager.hpp
index 00b4a0b7..125422c8 100644
--- a/Kernel/KernelKit/DeviceManager.hpp
+++ b/Kernel/KernelKit/DeviceManager.hpp
@@ -72,8 +72,8 @@ namespace Kernel
}
private:
- void (*fOut)(T Data);
- void (*fIn)(T Data);
+ void (*fOut)(T Data) = {nullptr};
+ void (*fIn)(T Data) = {nullptr};
};
///
diff --git a/Kernel/StorageKit/AHCI.hpp b/Kernel/StorageKit/AHCI.hpp
index 6389d46f..f84e175e 100644
--- a/Kernel/StorageKit/AHCI.hpp
+++ b/Kernel/StorageKit/AHCI.hpp
@@ -28,6 +28,6 @@ namespace Kernel
const char* Name() const override;
private:
- void (*fCleanup)(void);
+ void (*fCleanup)(void) = {nullptr};
};
-} // namespace Kernel \ No newline at end of file
+} // namespace Kernel
diff --git a/Kernel/StorageKit/ATA.hpp b/Kernel/StorageKit/ATA.hpp
index 374133f2..0862c56d 100644
--- a/Kernel/StorageKit/ATA.hpp
+++ b/Kernel/StorageKit/ATA.hpp
@@ -34,6 +34,6 @@ namespace Kernel
const char* Name() const override;
private:
- void (*fCleanup)(void);
+ void (*fCleanup)(void) = { nullptr };
};
-} // namespace Kernel \ No newline at end of file
+} // namespace Kernel
diff --git a/Kernel/StorageKit/NVME.hpp b/Kernel/StorageKit/NVME.hpp
index 8dd32365..f1601149 100644
--- a/Kernel/StorageKit/NVME.hpp
+++ b/Kernel/StorageKit/NVME.hpp
@@ -31,6 +31,6 @@ namespace Kernel
OwnPtr<MountpointInterface*> operator()(UInt32 dmaLow, UInt32 dmaHigh, SizeT sz);
private:
- void (*fCleanup)(void);
+ void (*fCleanup)(void) = {nullptr};
};
} // namespace Kernel