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

Not all control paths return value #12

Closed
Eddie-cz opened this issue Jun 27, 2022 · 3 comments
Closed

Not all control paths return value #12

Eddie-cz opened this issue Jun 27, 2022 · 3 comments

Comments

@Eddie-cz
Copy link

aeedis\impl\error.ipp(47): error C4715: 'aedis::detail::error_category_impl::message': not all control paths return a value
clang 14.0.6

@mzimbres
Copy link
Collaborator

mzimbres commented Jul 2, 2022

Thanks for reporting. I can't reproduce this on the master branch. Notice the high-level Aedis API was redesigned and the problem may have already been fixed.

@Eddie-cz
Copy link
Author

Eddie-cz commented Jul 2, 2022

error.ipp, std::string message(int ev) fnc

  • clearly not returning value on case default, assert is not enough

@mzimbres
Copy link
Collaborator

mzimbres commented Jul 3, 2022

Fixed in the master. Thanks for reporting.

@mzimbres mzimbres closed this as completed Jul 3, 2022
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

No branches or pull requests

2 participants