[NGRINDER-685] Fix klocwork defect