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
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.