Fixed static analyzer warning.