You are right in that setting a value here is redundant, but to me, it is good practice to always initialize variables like this: It helps avoid using uninitialized memory, which means that if the code is buggy, and an initialization is forgotten somewhere, we do not get random behaviour, which can help identify bugs. In summary, I'd prefer keeping these initializations (and perhaps add initializations for ``i, j, k``?).