Greetings!

There is a duplication of variable declaration in read_file_system_list()
in case of [MOUNTED_LISTMNTENT]. Patch is attached. Please correct the log
message if required. Thanks!

-- 
Andrew
From 6f095f280aba5ce4ae10d75d08e7e2b2293ca82e Mon Sep 17 00:00:00 2001
From: Andrew Borodin <aboro...@vmail.ru>
Date: Sun, 27 Sep 2015 11:41:17 +0300
Subject: [PATCH] mountlist: clean up of variable duplication.

* lib/mountlist.c (read_file_system_list) [MOUNTED_LISTMNTENT]:
the 'me' variable is already declared above. Remove it here.

---
 lib/mountlist.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/mountlist.c b/lib/mountlist.c
index 08ade6f..c3d2852 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -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
-- 
2.1.4

Reply via email to