From 117a5f1bd23a81b32beb3f72c3b8a839e2f2fcbd Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 12 Jul 2023 12:29:18 -0400 Subject: [PATCH] LibPDF: Remove an unused variable --- Userland/Libraries/LibPDF/Fonts/SimpleFont.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibPDF/Fonts/SimpleFont.cpp b/Userland/Libraries/LibPDF/Fonts/SimpleFont.cpp index 303aef9d08..81fd1190bb 100644 --- a/Userland/Libraries/LibPDF/Fonts/SimpleFont.cpp +++ b/Userland/Libraries/LibPDF/Fonts/SimpleFont.cpp @@ -47,7 +47,6 @@ PDFErrorOr SimpleFont::initialize(Document* document, NonnullRefPtr SimpleFont::draw_string(Gfx::Painter& painter, Gfx::FloatPoint glyph_position, DeprecatedString const& string, Color const& paint_color, float font_size, float character_spacing, float horizontal_scaling) { - auto so = make_object(string, true); for (auto char_code : string.bytes()) { // Use the width specified in the font's dictionary if available, // and use the default width for the given font otherwise.