Skip to content

Fix undefined variable#8293

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:quant
Aug 9, 2024
Merged

Fix undefined variable#8293
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:quant

Conversation

@radarhere
Copy link
Copy Markdown
Member

root is not currently defined here.

Pillow/src/libImaging/Quant.c

Lines 1041 to 1046 in f2469cb

#ifdef DEBUG
if (!(i % 100)) {
printf("%05d\r", i);
fflush(stdout);
}
if (checkContained(root, pixelData + i) > 1) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants