From: Junio C Hamano Date: Tue, 11 May 2021 21:33:03 GMT Subject: Re: [PATCH] trace2: refactor to avoid gcc warning under -O3 Message-ID: In-Reply-To: Jeff King writes: > So switching to "return errno ? errno : EIO" does indeed work here, > because the compiler now knows that the result of that return will > always be non-zero. OK.