1
Fork 0
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:
Nico Weber 2024-01-26 08:08:17 -05:00 committed by Andreas Kling
parent c694d4326b
commit 83ab9f7c2d
4 changed files with 0 additions and 4 deletions

View file

@ -57,7 +57,6 @@ ErrorOr<void> read_image_data(PAMLoadingContext& context)
}
}
context.state = PAMLoadingContext::State::BitmapDecoded;
return {};
}
}

View file

@ -49,7 +49,6 @@ ErrorOr<void> read_image_data(PBMLoadingContext& context)
}
}
context.state = PBMLoadingContext::State::BitmapDecoded;
return {};
}
}

View file

@ -36,7 +36,6 @@ ErrorOr<void> read_image_data(PGMLoadingContext& context)
}
}
context.state = PGMLoadingContext::State::BitmapDecoded;
return {};
}
}

View file

@ -45,7 +45,6 @@ ErrorOr<void> read_image_data(PPMLoadingContext& context)
}
}
context.state = PPMLoadingContext::State::BitmapDecoded;
return {};
}
}