PVS Studio fix