]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Eliminate compiler warnings
authorChuck Lever <chuck.lever@oracle.com>
Wed, 13 Oct 2010 15:38:22 +0000 (11:38 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 14 Oct 2010 14:26:58 +0000 (10:26 -0400)
commitffa577350b03ddd421d455a8cd4cff86e3718264
treeca152110740922304b542f96b58b3e070ccb5491
parent5fe118b838254023d83424c5010ae73a91ec267d
mount.nfs: Eliminate compiler warnings

Clean up.

fstab.c: In function ?lock_mtab?:
fstab.c:385: warning: declaration of ?errsv? shadows a previous local
fstab.c:367: warning: shadowed declaration is here
fstab.c:407: warning: declaration of ?errsv? shadows a previous local
fstab.c:367: warning: shadowed declaration is here
fstab.c:417: warning: declaration of ?tries? shadows a previous local
fstab.c:325: warning: shadowed declaration is here
fstab.c:422: warning: declaration of ?errsv? shadows a previous local
fstab.c:367: warning: shadowed declaration is here

These are probably harmless.  Reusing a variable name, however, is a
little confusing to follow when reading the code.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/fstab.c