diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index 43e4aa7d63..333a3210f2 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include @@ -349,6 +350,8 @@ template case 'p': ret += print_hex(putch, bufptr, va_arg(ap, u32), *p == 'P', true, false, true, 8); break; + default: + ASSERT_NOT_REACHED(); } } else { putch(bufptr, *p);