mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Andreas Kling
parent
c694d4326b
commit
83ab9f7c2d
@@ -57,7 +57,6 @@ ErrorOr<void> read_image_data(PAMLoadingContext& context)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
context.state = PAMLoadingContext::State::BitmapDecoded;
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ ErrorOr<void> read_image_data(PBMLoadingContext& context)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
context.state = PBMLoadingContext::State::BitmapDecoded;
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ ErrorOr<void> read_image_data(PGMLoadingContext& context)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
context.state = PGMLoadingContext::State::BitmapDecoded;
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ ErrorOr<void> read_image_data(PPMLoadingContext& context)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
context.state = PPMLoadingContext::State::BitmapDecoded;
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user