On 4/21/21 10:53 AM, Darrick J. Wong wrote: > On Wed, Apr 21, 2021 at 10:41:35PM +0800, Gao Xiang wrote: >> An uninitialized variable issue reported by Coverity, it seems > > Minor nit: we often include the coverity id for things it finds. > Links to a semi-private corporate bug tracker aren't necessarily > generally useful, but I guess they did find a legit bug so we could > throw them one crumb. > >> the following for-loop can be exited in advance with isblock == 1, >> and bp is still uninitialized. >> >> In case of that, initialize bp as NULL in advance to avoid this. >> >> Fixes: 1f7c7553489c ("repair: don't duplicate names in phase 6") >> Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxx> > > Either way, it's not worth holding up this patch, so: > > Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> Thanks Darrick and Gao. Easy enough for me to add the coverity ID on commit. -Eric