"Marc Schütz" " wrote in message news:[email protected]...

What is it supposed to do? Do you want to check that s is at least 1 character long? Otherwise it's a NOP, AFAICS.

It was supposed to check if the first character was not '/', but for some reason it was always taking the if branch.

A similar one is
while (x);
   doSomething();

Which is nearly impossible to see, and I do all the time by accident. Thankfully the compiler catches that one for us.

Reply via email to