Skip to content

Fix missing return on non-void function#4003

Merged
thsfs merged 1 commit intonanocurrency:developfrom
thsfs:fix-select_limiter-missing-return-value
Nov 25, 2022
Merged

Fix missing return on non-void function#4003
thsfs merged 1 commit intonanocurrency:developfrom
thsfs:fix-select_limiter-missing-return-value

Conversation

@thsfs
Copy link
Copy Markdown
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