Skip to content

Add missing if brackets#4492

Merged
hugovk merged 1 commit intopython-pillow:masterfrom
nulano:kern-typo
Mar 29, 2020
Merged

Add missing if brackets#4492
hugovk merged 1 commit intopython-pillow:masterfrom
nulano:kern-typo

Conversation

@nulano
Copy link
Copy Markdown
Contributor

@nulano nulano commented Mar 29, 2020

Add missing brackets to if clause to avoid possible undefined behaviour.

@hugovk hugovk merged commit 75a9ef1 into python-pillow:master Mar 29, 2020
@hugovk
Copy link
Copy Markdown
Member

hugovk commented Mar 29, 2020

Good spot, thanks!

(It says Travis is pending, but it passed. See also.)

There's been a suggestion earlier to using clang-format on the code (#1770 (comment)), I've made a new issue: #4493.

@nulano nulano deleted the kern-typo branch March 29, 2020 15:17
@hugovk hugovk mentioned this pull request Mar 29, 2020
@hugovk hugovk added the Bug Any unexpected behavior, until confirmed feature. label Mar 29, 2020
@hugovk hugovk mentioned this pull request Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Any unexpected behavior, until confirmed feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants