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

Fixing return unreachable warning on NVCC #804

Merged
merged 1 commit into from
Jul 10, 2018
Merged

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Jul 9, 2018

Fixes the other half of #802.

The return is unreachable since all paths either return or break, which gets them out past the return.

PS: This bug is a showstopper for me for upgrading to fmt 5.1.0, since I get a massive number of copies of warnings in the build process.

@henryiii henryiii changed the title Fixing return unreachable warning on NVCC WIP: Fixing return unreachable warning on NVCC Jul 9, 2018
@henryiii henryiii changed the title WIP: Fixing return unreachable warning on NVCC Fixing return unreachable warning on NVCC Jul 9, 2018
@vitaut vitaut merged commit 9c32e73 into fmtlib:master Jul 10, 2018
@vitaut
Copy link
Contributor

vitaut commented Jul 10, 2018

Merged, thanks!

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