Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Apr 2, 2025

https://github.com/python-pillow/Pillow/actions/runs/14220077307/job/39845672092#step:10:365

src/_avif.c:571:10: warning: address of 'rgb' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (&rgb) {
~~ ^~~

cc @fdintino

Copy link
Contributor

@fdintino fdintino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. I think this got added in the refactor that added the goto; I noticed the warning and had intended to fix it, but it slipped my mind.

@hugovk hugovk merged commit 2d452c8 into python-pillow:main Apr 3, 2025
56 checks passed
@radarhere radarhere deleted the avif_rgb branch April 3, 2025 10:18
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.

3 participants