Fix Dead Store (Dead assignement/Dead increment) warning found by Clang