Hy,

I got an question about code inspection. I just inspected the code for an
project I work on and found one problem that said "The value changed at
++index at line 237 is never used". The line mentioned is:

return ++index;

(with index beeing an parameter to the function). I know that this report
can easily be solved by using "return (index + 1);", but I think thats a
matter of taste and the line above is not necessary wrong.

regards
Joachim Sauer


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to