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 missing return on non-void function #4003

Merged

Conversation

thsfs
Copy link
Contributor

@thsfs thsfs commented Nov 25, 2022

Old implementation fails when building with [-Werror=return-type]:

/workspace/nano/node/bandwidth_limiter.cpp:44:1: error: control reaches end of non-void function [-Werror=return-type]

Old implementation fails when building with [-Werror=return-type]:
/workspace/nano/node/bandwidth_limiter.cpp:44:1: error: control reaches
end of non-void function [-Werror=return-type]
@thsfs thsfs added the bug label Nov 25, 2022
@thsfs thsfs requested a review from pwojcikdev November 25, 2022 19:15
@thsfs thsfs merged commit 8f8eb12 into nanocurrency:develop Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants