FWIW, note also that thestatement in the OPed code is unreachable.return "SOMETHING";
Yes - I should have pointed out the reason for that line in the question...
It was added as part of trying to work out what was actually happening. Having a definite return ensured that I was not getting a return value from the last evaluated expression. I did try to eliminate some of the possibilities before turning to the Monastery.
In reply to Re^2: Useless use of string in return statement
by Bod
in thread Useless use of string in return statement
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |