btrfs-progs: fix shadow symbols
authorZach Brown <zab@redhat.com>
Wed, 14 Aug 2013 23:16:34 +0000 (16:16 -0700)
committerDavid Sterba <dsterba@suse.cz>
Tue, 3 Sep 2013 17:41:02 +0000 (19:41 +0200)
commit19a2e1f4611eeff9668dacecafb6e51b5ca0f704
treea6a821f87083f49c37f8307b454754436a8a4c2c
parent323bf8c5871f94b0623e98d575ccd79d19b14405
btrfs-progs: fix shadow symbols

This fixes all the instances of warnings that symbols declared in blocks
shadow symbols with the same name in surrounding scopes:

 cmds-device.c:341:22: warning: symbol 'path' shadows an earlier one
 cmds-device.c:285:14: originally declared here

I just renamed or removed the risky shadow symbols instead of pulling
their blocks out into functions.

Signed-off-by: Zach Brown <zab@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-check.c
cmds-device.c
cmds-restore.c
ctree.c
volumes.c