Skip to content

Remove unreachable code from ManualSchema #5766

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

Merged
merged 1 commit into from
Jan 24, 2018
Merged

Remove unreachable code from ManualSchema #5766

merged 1 commit into from
Jan 24, 2018

Conversation

jlaine
Copy link
Contributor

@jlaine jlaine commented Jan 23, 2018

ManualSchema.get_link had two return statements. Prune the second
(unreachable) return.

ManualSchema.get_link had two return statements. Prune the second
(unreachable) return.
Copy link
Collaborator

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Great. Thanks.

@carltongibson carltongibson merged commit 588b61e into encode:master Jan 24, 2018
@carltongibson carltongibson added this to the 3.8 Release milestone Jan 24, 2018
@jlaine jlaine deleted the prune-unreachable-code branch April 9, 2018 06:44
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
ManualSchema.get_link had two return statements. Prune the second
(unreachable) return.
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.

2 participants