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

hacky_printf should return a void #137

Open
JayFoxRox opened this issue Apr 12, 2018 · 0 comments
Open

hacky_printf should return a void #137

JayFoxRox opened this issue Apr 12, 2018 · 0 comments
Labels
easy Issues which are easy to solve, so they are ideal task for beginners who just joined the project

Comments

@JayFoxRox
Copy link
Member

Currently, when turning off the hacky_printf function using the preprocessor, it will result in not returning a value in a function returning an int.
The return value should never be used anyway as no meaningful value can be returned when the function is disabled.
So the return type should be changed.

@JayFoxRox JayFoxRox added the easy Issues which are easy to solve, so they are ideal task for beginners who just joined the project label Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Issues which are easy to solve, so they are ideal task for beginners who just joined the project
Projects
None yet
Development

No branches or pull requests

1 participant