Fix a static analyzer warning