Avoid -Wunreachable-code in do_allocate() #41

Merged
merged 1 commit into from Nov 12, 2016

Projects

None yet

2 participants

@mknejp
Contributor
mknejp commented Nov 2, 2016

do_allocate() triggered the warning
"code will never be executed [-Wunreachable-code]"
in Clang.

Changed both do_allocate and do_deallocate to keep the existing
similarity.

@mknejp mknejp Avoid -Wunreachable-code in do_allocate()
do_allocate() triggered the warning
"code will never be executed [-Wunreachable-code]"
in Clang.

Changed both do_allocate and do_deallocate to keep the existing
similarity.
bf25231
@igaztanaga igaztanaga merged commit bf25231 into boostorg:develop Nov 12, 2016
@igaztanaga
Collaborator

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment