From: Chuck Lever Date: Wed, 13 Oct 2010 15:38:22 +0000 (-0400) Subject: mount.nfs: Eliminate compiler warnings X-Git-Tag: nfs-utils-1-2-4-rc1~13 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=ffa577350b03ddd421d455a8cd4cff86e3718264;hp=ffa577350b03ddd421d455a8cd4cff86e3718264;p=nfs-utils.git 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 Signed-off-by: Steve Dickson ---