Quote Originally Posted by whiteflags View Post
Your fears were unfounded. If you traced that, you will find that return is reached no matter which path is taken.
Yes, and even simple compilers will figure such a simple case out and not say "some paths may not return a value".

--
Mats