Skip to content

gh-152813: Fix curses build warning on macOS#152814

Open
hrimov wants to merge 1 commit into
python:mainfrom
hrimov:fix/curses-warning
Open

gh-152813: Fix curses build warning on macOS#152814
hrimov wants to merge 1 commit into
python:mainfrom
hrimov:fix/curses-warning

Conversation

@hrimov

@hrimov hrimov commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #152813

Assigning the macro's result to a variable before comparing keeps clang from constant-folding the comparison and flagging the branch as dead code.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Curses build warning on macOS

1 participant