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

chore: remove goto statements #3791

Merged
merged 1 commit into from
Sep 25, 2024
Merged

chore: remove goto statements #3791

merged 1 commit into from
Sep 25, 2024

Conversation

kostasrim
Copy link
Contributor

We have two goto statements in the codebase (we do have a bunch more in redis/ folder but these should not be touched as we might want to diff them with the original files) and I replaced them with lambdas to simplify the control flows.

  • replace goto statements with lambda calls

@kostasrim kostasrim merged commit a5d34ad into main Sep 25, 2024
12 checks passed
@kostasrim kostasrim deleted the kpr2 branch September 25, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants