From 459bdf766fec2e6ed106c650e79d388284ead2eb Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 1 Apr 2026 10:38:22 +1100 Subject: [PATCH] Move variable declaration inside define --- src/libImaging/Paste.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libImaging/Paste.c b/src/libImaging/Paste.c index f01bce93388..f4b72c5d814 100644 --- a/src/libImaging/Paste.c +++ b/src/libImaging/Paste.c @@ -356,7 +356,7 @@ fill( ) { /* fill opaque region */ - int x, y, i; + int x, y; UINT8 ink8 = 0; INT32 ink32 = 0L; @@ -372,6 +372,7 @@ fill( } else { #if defined _WIN32 && !defined _WIN64 + int i; dx *= pixelsize; for (y = 0; y < ysize; y++) { UINT8 *out = (UINT8 *)imOut->image[y + dy] + dx;