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

Fix warnings: Early returns in non-void functions. #15

Open
XtraIce opened this issue Jan 17, 2021 · 3 comments
Open

Fix warnings: Early returns in non-void functions. #15

XtraIce opened this issue Jan 17, 2021 · 3 comments

Comments

@XtraIce
Copy link

XtraIce commented Jan 17, 2021

Instead of returning early in the for-loops, insert a break line and then return at the end of the function instead.
This gets rid of the bunch of warnings this library causes.

@XtraIce
Copy link
Author

XtraIce commented Jan 17, 2021

I have the code to fix, if want me to branch and do PR.

@sjernigan
Copy link

sjernigan commented Feb 25, 2025

@XtraIce Can you open a pull request so others than see the changes. Better yet, fork this project as the owner seems absent. For me, the warnings are now errors so I've got to address them.

Thanks

@SloCompTech
Copy link
Owner

Please create pull request and I will merge PR

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

No branches or pull requests

3 participants