Unreachable code warning in specialize.c · Issue #94021 · python/cpython · GitHub
Skip to content

Unreachable code warning in specialize.c #94021

@tiran

Description

@tiran

Bug report

Some versions of clang complain about unreachable code in specialize.c

cpython/Python/specialize.c

Lines 1911 to 1920 in 774ef28

Python/specialize.c:1915:13: warning: code will never be executed [-Wunreachable-code]

The problem is trivial to fix.

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions