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

bpo-43152: Update assert statement to remove unused warning #24473

Merged
merged 3 commits into from Feb 14, 2021

Conversation

@corona10
Copy link
Member

@corona10 corona10 commented Feb 7, 2021

Python/ceval.c:4747:19: warning: unused variable 'code' [-Wunused-variable]
    PyCodeObject *code = (PyCodeObject *)_co;

https://bugs.python.org/issue43152

@corona10 corona10 requested a review from markshannon as a code owner Feb 7, 2021
@corona10 corona10 changed the title no-issue Update assert statement to remove unused warning bpo-43152 Update assert statement to remove unused warning Feb 7, 2021
@corona10 corona10 changed the title bpo-43152 Update assert statement to remove unused warning bpo-43152: Update assert statement to remove unused warning Feb 7, 2021
@corona10 corona10 removed the skip news label Feb 7, 2021
@corona10 corona10 force-pushed the corona10:unused_ceval branch from bdf630e to 7a45047 Feb 7, 2021
@corona10 corona10 added skip news and removed skip issue labels Feb 7, 2021
@corona10 corona10 requested a review from vstinner Feb 9, 2021
Python/ceval.c Outdated Show resolved Hide resolved
Co-authored-by: Victor Stinner <vstinner@python.org>
@corona10 corona10 requested a review from vstinner Feb 10, 2021
Copy link
Member

@vstinner vstinner left a comment

LGTM.

Python/ceval.c Outdated Show resolved Hide resolved
@corona10 corona10 merged commit 3cf0833 into python:master Feb 14, 2021
10 checks passed
10 checks passed
Check for source changes
Details
Check if generated files are up to date
Details
Windows (x86)
Details
Windows (x64)
Details
macOS
Details
Ubuntu
Details
Azure Pipelines PR #20210214.2 succeeded
Details
Travis CI - Pull Request Build Passed
Details
bedevere/issue-number Issue number 43152 found
Details
bedevere/news "skip news" label found
sthagen added a commit to sthagen/cpython that referenced this pull request Feb 14, 2021
bpo-43152: Update assert statement to remove unused warning (pythonGH-24473)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants