Skip to content

Commit 22cdb5f

Browse files
authored
Move variable declaration inside define (#9525)
2 parents fc15b3b + 459bdf7 commit 22cdb5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libImaging/Paste.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ fill(
356356
) {
357357
/* fill opaque region */
358358

359-
int x, y, i;
359+
int x, y;
360360
UINT8 ink8 = 0;
361361
INT32 ink32 = 0L;
362362

@@ -372,6 +372,7 @@ fill(
372372

373373
} else {
374374
#if defined _WIN32 && !defined _WIN64
375+
int i;
375376
dx *= pixelsize;
376377
for (y = 0; y < ysize; y++) {
377378
UINT8 *out = (UINT8 *)imOut->image[y + dy] + dx;

0 commit comments

Comments
 (0)