From e33bbdb6ba860f4d570d06516090df0e6cf3e91a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 6 Nov 2019 13:56:11 +0100 Subject: [PATCH] AK: Remove unused AK::not_implemented() Whatever this was supposed to be, it was ironically... not implemented. --- AK/Assertions.h | 7 ------- Kernel/TTY/VirtualConsole.cpp | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/AK/Assertions.h b/AK/Assertions.h index bced43f6585..7e5793f4df9 100644 --- a/AK/Assertions.h +++ b/AK/Assertions.h @@ -15,10 +15,3 @@ #endif -namespace AK { - -inline void not_implemented() { ASSERT(false); } - -} - -using AK::not_implemented; diff --git a/Kernel/TTY/VirtualConsole.cpp b/Kernel/TTY/VirtualConsole.cpp index 36566cf418d..78d72f14217 100644 --- a/Kernel/TTY/VirtualConsole.cpp +++ b/Kernel/TTY/VirtualConsole.cpp @@ -310,11 +310,11 @@ void VirtualConsole::escape$J(const Vector& params) switch (mode) { case 0: // FIXME: Clear from cursor to end of screen. - not_implemented(); + ASSERT_NOT_REACHED(); break; case 1: // FIXME: Clear from cursor to beginning of screen. - not_implemented(); + ASSERT_NOT_REACHED(); break; case 2: clear();