aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getmountlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c
index 91ba8c10..d2484937 100644
--- a/lib/getmountlist.c
+++ b/lib/getmountlist.c
@@ -21,8 +21,6 @@ struct mtab_list *getmountlist(int die)
if (die) error_exit("cannot open %s", path_mounts);
} else {
while (getmntent_r(fp, &me, evilbuf, sizeof(evilbuf))) {
- char *str;
-
mt = xmalloc(sizeof(struct mtab_list) + strlen(me.mnt_fsname) +
strlen(me.mnt_dir) + strlen(me.mnt_type) + 3);
mt->next = mtlist;