Fix a warning by static analyzer