Skip to content

gh-135161: Remove redundant NULL check for 'exc' after dereference in ceval.c#135162

Merged
vstinner merged 1 commit intopython:mainfrom
rialbat:fix-redundant-null-check
Jun 5, 2025
Merged

gh-135161: Remove redundant NULL check for 'exc' after dereference in ceval.c#135162
vstinner merged 1 commit intopython:mainfrom
rialbat:fix-redundant-null-check

Conversation

@rialbat
Copy link
Copy Markdown
Contributor

@rialbat rialbat commented Jun 5, 2025

Remove a redundant NULL check for the variable 'exc' after it has already been dereferenced.

@vstinner vstinner merged commit 8919cb4 into python:main Jun 5, 2025
52 checks passed
@vstinner
Copy link
Copy Markdown
Member

vstinner commented Jun 5, 2025

Merged, thanks for the fix.

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
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.

3 participants