diff --git a/Userland/Libraries/LibGfx/ImageFormats/PAMLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/PAMLoader.cpp index 6a18b13d76..b47615b12e 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/PAMLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/PAMLoader.cpp @@ -57,7 +57,6 @@ ErrorOr read_image_data(PAMLoadingContext& context) } } - context.state = PAMLoadingContext::State::BitmapDecoded; return {}; } } diff --git a/Userland/Libraries/LibGfx/ImageFormats/PBMLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/PBMLoader.cpp index fe26449f8b..a7d269676c 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/PBMLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/PBMLoader.cpp @@ -49,7 +49,6 @@ ErrorOr read_image_data(PBMLoadingContext& context) } } - context.state = PBMLoadingContext::State::BitmapDecoded; return {}; } } diff --git a/Userland/Libraries/LibGfx/ImageFormats/PGMLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/PGMLoader.cpp index 3e4b15528a..20891c9bd9 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/PGMLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/PGMLoader.cpp @@ -36,7 +36,6 @@ ErrorOr read_image_data(PGMLoadingContext& context) } } - context.state = PGMLoadingContext::State::BitmapDecoded; return {}; } } diff --git a/Userland/Libraries/LibGfx/ImageFormats/PPMLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/PPMLoader.cpp index 726bccc7fe..8deafc3410 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/PPMLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/PPMLoader.cpp @@ -45,7 +45,6 @@ ErrorOr read_image_data(PPMLoadingContext& context) } } - context.state = PPMLoadingContext::State::BitmapDecoded; return {}; } }