Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix unused variable 'COLORS' warning in optimizer.c#144373

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Fidget-Spinner merged 1 commit intopython:mainfromaisk:fix-colors-warning
Feb 1, 2026

Conversation

@aisk
Copy link
Contributor

@aiskaisk commentedFeb 1, 2026

Move theCOLORS array to the#ifdef Py_STATS block, as it's only used by theget_background_color() function which is also used inPy_STATS block block.

This Will fix the "unused variable 'COLORS'" warning when building without stats enabled.

@Fidget-SpinnerFidget-Spinner merged commitdb61f62 intopython:mainFeb 1, 2026
69 checks passed
@Fidget-Spinner
Copy link
Member

Thanks

@aiskaisk deleted the fix-colors-warning branchFebruary 1, 2026 05:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

@Fidget-SpinnerFidget-SpinnerAwaiting requested review from Fidget-SpinnerFidget-Spinner is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@aisk@Fidget-Spinner

[8]ページ先頭

©2009-2026 Movatter.jp