Fixed warning in gcc 11 about array not being initalized (#7840)

(cherry picked from commit db75f1869883614b49cd6276edcb138e44af7cad)
1 file changed