mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
Kernel: Initialize SupriousInterruptHandler::m_enabled on construction
Found by PVS Studio Static Analysis
This commit is contained in:
parent
0348d9afbe
commit
8afcf2441c
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ private:
|
||||||
void enable_interrupt_vector();
|
void enable_interrupt_vector();
|
||||||
void disable_interrupt_vector();
|
void disable_interrupt_vector();
|
||||||
explicit SpuriousInterruptHandler(u8 interrupt_number);
|
explicit SpuriousInterruptHandler(u8 interrupt_number);
|
||||||
bool m_enabled;
|
bool m_enabled { false };
|
||||||
bool m_real_irq { false };
|
bool m_real_irq { false };
|
||||||
RefPtr<IRQController> m_responsible_irq_controller;
|
RefPtr<IRQController> m_responsible_irq_controller;
|
||||||
OwnPtr<GenericInterruptHandler> m_real_handler;
|
OwnPtr<GenericInterruptHandler> m_real_handler;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue