jbig2-from-json: Remove an unused local variable

No behavior change.
This commit is contained in:
Nico Weber authored and Lucas Chollet committed 2026-07-25 18:45:52 +02:00
1 parent 92d38f02af
commit 6b838637dc
1 file changed
-2
-2
View File
@@ -189,8 +189,6 @@ static ErrorOr<JSONRect> jbig2_rect_from_json(JsonObject const& object)
static ErrorOr<NonnullRefPtr<Gfx::Bitmap>> jbig2_load_bitmap(ToJSONOptions const& options, ByteString const& base_name)
{
RefPtr<Gfx::Bitmap> bitmap;
ByteString base_directory = LexicalPath { options.input_path }.dirname();
auto path = LexicalPath::absolute_path(base_directory, base_name);
auto file_or_error = Core::MappedFile::map(path);