Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed "may be used uninitialized" warning #7444

Merged
merged 3 commits into from
Oct 13, 2023
Merged

Conversation

radarhere
Copy link
Member

After #7303 was merged, I noticed a warning.

https://github.com/python-pillow/Pillow/actions/runs/6430296173/job/17461014310#step:7:231

src/_imaging.c: In function ‘_putdata’:
src/_imaging.c:1578:21: warning: ‘bigendian’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1578 | int bigendian;
| ^~~~~~~~~

src/_imaging.c Outdated Show resolved Hide resolved
@hugovk hugovk changed the title Fixed may be used uninitialized warning Fixed "may be used uninitialized" warning Oct 7, 2023
Co-authored-by: Alexander Karpinsky <[email protected]>
@hugovk hugovk merged commit 8e5570e into python-pillow:main Oct 13, 2023
52 checks passed
@radarhere radarhere deleted the bgr branch October 13, 2023 23:31
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