Re: [PATCH] trace2: refactor to avoid gcc warning under -O3
From: Junio C Hamano <hidden> Date: 2021-05-11 21:33:11
Jeff King [off-list ref] 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.