Follow

@foonathan

CLang is making two assumptions. First, the while loop can be removed. Second, the return is never reached.

It shouldn't be doing both of them. Removing the while means the return can be reached.

Removing a return is just wrong under any circumstance.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.