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

example_switch.cpp: properly return 0 #336

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

stephanlachnit
Copy link
Contributor

The main function in example_switch.cpp was declared as int main() but actually does not return a value - this fixes this by adding return 0 to the end of the function.

The main function in example_switch.cpp was declared as `int main()` but actually does not return a value - this fixes this by adding `return 0` to the end of the function.
@Neargye
Copy link
Owner

Neargye commented Feb 10, 2024

Thanks!

@Neargye Neargye merged commit 66e5a46 into Neargye:master Feb 10, 2024
18 checks passed
@stephanlachnit stephanlachnit deleted the patch-1 branch February 10, 2024 14:16
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