mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
jbig2-from-json: Remove an unused local variable
No behavior change.
This commit is contained in:
1 parent
92d38f02af
commit
6b838637dc
1 file changed
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user