Fix warning in Nightly about yield without a value