Warning digit1 may be used uninitialized in this function

This makes sense, but why don't I get the same warning for digit3?