Removed useless increment found by clang static analysis.