coverity: fixed unchecked return value