mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
LibGfx/PNM: Remove unnecessary line
This is already done at the caller decode() in PortableImageLoaderCommon.h, as pointed out by @LucasChollet at https://github.com/SerenityOS/serenity/pull/22935#discussion_r1467158789 No behavior change.
This commit is contained in:
parent
c694d4326b
commit
83ab9f7c2d
4 changed files with 0 additions and 4 deletions
|
@ -57,7 +57,6 @@ ErrorOr<void> read_image_data(PAMLoadingContext& context)
|
|||
}
|
||||
}
|
||||
|
||||
context.state = PAMLoadingContext::State::BitmapDecoded;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,6 @@ ErrorOr<void> read_image_data(PBMLoadingContext& context)
|
|||
}
|
||||
}
|
||||
|
||||
context.state = PBMLoadingContext::State::BitmapDecoded;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,7 +36,6 @@ ErrorOr<void> read_image_data(PGMLoadingContext& context)
|
|||
}
|
||||
}
|
||||
|
||||
context.state = PGMLoadingContext::State::BitmapDecoded;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@ ErrorOr<void> read_image_data(PPMLoadingContext& context)
|
|||
}
|
||||
}
|
||||
|
||||
context.state = PPMLoadingContext::State::BitmapDecoded;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue