mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 02:55:15 +00:00
Kernel: Initialize SupriousInterruptHandler::m_enabled on construction
Found by PVS Studio Static Analysis
This commit is contained in:
parent
0348d9afbe
commit
8afcf2441c
|
@ -36,7 +36,7 @@ private:
|
|||
void enable_interrupt_vector();
|
||||
void disable_interrupt_vector();
|
||||
explicit SpuriousInterruptHandler(u8 interrupt_number);
|
||||
bool m_enabled;
|
||||
bool m_enabled { false };
|
||||
bool m_real_irq { false };
|
||||
RefPtr<IRQController> m_responsible_irq_controller;
|
||||
OwnPtr<GenericInterruptHandler> m_real_handler;
|
||||
|
|
Loading…
Reference in a new issue