Ensure automatic struct ifake is properly initialized.
Coverity-id:
1596600,
1596597
Signed-off-by: Bill O'Donnell <bodonnel@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
const struct xfs_bmbt_irec *irec,
xfs_extnum_t nextents)
{
- struct xbtree_ifakeroot ifake;
+ struct xbtree_ifakeroot ifake = {};
struct xfs_btree_cur *bmap_cur;
int error;
.leaf_slack = 1,
.node_slack = 1,
};
- struct xbtree_ifakeroot ifake;
+ struct xbtree_ifakeroot ifake = {};
struct xfs_btree_cur *bmap_cur;
int error;