[#1732] Fixed another warning cropping up wth -O3 in CI