LCL/GraphUtil: Initialize interpolation as nil (see 412af2a70b, issue #41614)

(cherry picked from commit f1f4ed909c)
This commit is contained in:
wp_xyz 2025-05-04 22:16:04 +02:00
parent 86cbcce276
commit 9978a205d8

View File

@ -369,7 +369,7 @@ end;
procedure ScaleImg(AImage: TCustomBitmap; AWidth, AHeight: Integer);
var
srcImg, destImg: TLazIntfImage;
destCanvas: TLazCanvas;
destCanvas: TLazCanvas = nil;
begin
if (AImage.Width = AWidth) and (AImage.Height = AHeight) then
exit;