]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: don't shadow global libxfs_init x variable
authorEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:25:10 +0000 (13:25 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:25:10 +0000 (13:25 -0500)
commit4add9d501370beac4a32bf613b26847f989dee37
treea03a70ad7c8befb4be3c190e90f59c636f9066a5
parent28e36fcc64ec6132ed2f46e75aec4017e07eaf6b
xfsprogs: don't shadow global libxfs_init x variable

We use the variable 'x' for the global libxfs_init structure, but several
other functions think 'x' is a nice convenient local var too, and sparse
complains.  Rename these local variables (or in some cases re-use existing
loop counter vars when x was used for this purpose).

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/check.c
logprint/log_misc.c