Fix scrutinizer warnings.