[NGRINDER-694] Fix klocwork bug