]> Savannah Git Hosting - gnulib.git/commitdiff
mountlist: clean up of variable duplication
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 27 Sep 2015 08:41:17 +0000 (11:41 +0300)
committerPádraig Brady <P@draigBrady.com>
Sun, 27 Sep 2015 09:56:26 +0000 (10:56 +0100)
* lib/mountlist.c (read_file_system_list) [MOUNTED_LISTMNTENT]:
the 'me' variable is already declared above.  Remove it here.

lib/mountlist.c

index 08ade6f60baf6e4ad0d5b48b34c08c0839a0f9fb..c3d2852bb9907e7f993295d760268da4a4c00ac3 100644 (file)
@@ -432,7 +432,6 @@ read_file_system_list (bool need_fs_type)
   {
     struct tabmntent *mntlist, *p;
     struct mntent *mnt;
-    struct mount_entry *me;
 
     /* the third and fourth arguments could be used to filter mounts,
        but Crays doesn't seem to have any mounts that we want to