diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-02 16:57:12 +0100 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-02 20:27:20 -0500 |
commit | 6fd478b6ce6e717132a5e9a9a907d0e56916701f (patch) | |
tree | 79706d9b79756ee4e58ee807097520e877e23a35 /Userland/Libraries/LibSQL/BTreeIterator.cpp | |
parent | 345662d617f54b432680698816ca914dd4b7efef (diff) | |
download | serenity-6fd478b6ce6e717132a5e9a9a907d0e56916701f.zip |
Everywhere: Remove unused includes of AK/Format.h
These instances were detected by searching for files that include
AK/Format.h, but don't match the regex:
\\b(CheckedFormatString|critical_dmesgln|dbgln|dbgln_if|dmesgln|FormatBu
ilder|__FormatIfSupported|FormatIfSupported|FormatParser|FormatString|Fo
rmattable|Formatter|__format_value|HasFormatter|max_format_arguments|out
|outln|set_debug_enabled|StandardFormatter|TypeErasedFormatParams|TypeEr
asedParameter|VariadicFormatParams|v_critical_dmesgln|vdbgln|vdmesgln|vf
ormat|vout|warn|warnln|warnln_if)\\b
(Without the linebreaks.)
This regex is pessimistic, so there might be more files that don't
actually use any formatting functions.
Observe that this revealed that Userland/Libraries/LibC/signal.cpp is
missing an include.
In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
Diffstat (limited to 'Userland/Libraries/LibSQL/BTreeIterator.cpp')
-rw-r--r-- | Userland/Libraries/LibSQL/BTreeIterator.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibSQL/BTreeIterator.cpp b/Userland/Libraries/LibSQL/BTreeIterator.cpp index f761c39bee..548355e7c4 100644 --- a/Userland/Libraries/LibSQL/BTreeIterator.cpp +++ b/Userland/Libraries/LibSQL/BTreeIterator.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/Format.h> #include <LibSQL/BTree.h> namespace SQL { |