diff --git a/Kernel/Graphics/Console/TextModeConsole.cpp b/Kernel/Graphics/Console/TextModeConsole.cpp index 568d6f6018..9c40da3e0b 100644 --- a/Kernel/Graphics/Console/TextModeConsole.cpp +++ b/Kernel/Graphics/Console/TextModeConsole.cpp @@ -45,7 +45,7 @@ enum VGAColor : u8 { White, }; -static inline VGAColor convert_standard_color_to_vga_color(Console::Color color) +[[maybe_unused]] static inline VGAColor convert_standard_color_to_vga_color(Console::Color color) { switch (color) { case Console::Color::Black: diff --git a/Kernel/Graphics/IntelNativeGraphicsAdapter.cpp b/Kernel/Graphics/IntelNativeGraphicsAdapter.cpp index af6b932865..cf418279da 100644 --- a/Kernel/Graphics/IntelNativeGraphicsAdapter.cpp +++ b/Kernel/Graphics/IntelNativeGraphicsAdapter.cpp @@ -217,7 +217,7 @@ void IntelNativeGraphicsAdapter::enable_vga_plane() VERIFY(m_modeset_lock.is_locked()); } -static inline const char* convert_register_index_to_string(IntelGraphics::RegisterIndex index) +[[maybe_unused]] static inline const char* convert_register_index_to_string(IntelGraphics::RegisterIndex index) { switch (index) { case IntelGraphics::RegisterIndex::PipeAConf: diff --git a/Kernel/Time/PIT.cpp b/Kernel/Time/PIT.cpp index 68ec1fde87..581c9a6afb 100644 --- a/Kernel/Time/PIT.cpp +++ b/Kernel/Time/PIT.cpp @@ -22,7 +22,7 @@ UNMAP_AFTER_INIT NonnullRefPtr PIT::initialize(Function