Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 merged commit 8f8eb12 into nanocurrency:develop Nov 25, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants