Fix a coverity scan warning