Fix the warning from PVS-Studio  