summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-25 16:45:35 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-25 17:04:28 +0100
commitcb2c8f71f44f8c628f57e6ac3cadca57642c7682 (patch)
tree699e11a5a4c6e21d4eaa1d1b8ae0d232598505a2 /Userland
parent89d3b09638ea6f810b3b07d417367bc3458ce98b (diff)
downloadserenity-cb2c8f71f44f8c628f57e6ac3cadca57642c7682.zip
AK: Remove custom %b format string specifier
This was a non-standard specifier alias for %02x. This patch replaces all uses of it with new-style formatting functions instead.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/printf.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/printf.cpp b/Userland/printf.cpp
index 494abb9869..bb434e761c 100644
--- a/Userland/printf.cpp
+++ b/Userland/printf.cpp
@@ -46,10 +46,6 @@ struct PrintfImpl : public PrintfImplementation::PrintfImpl<PutChFunc, ArgumentL
{
}
- ALWAYS_INLINE int format_b(const PrintfImplementation::ModifierState&, ArgumentListRefT&) const
- {
- fail("format specifier 'b' is not supported");
- }
ALWAYS_INLINE int format_q(const PrintfImplementation::ModifierState& state, ArgumentListRefT& ap) const
{
auto state_copy = state;