Blame SOURCES/autofs-5.1.7-remove-unused-variable-from-get_exports.patch

49b67f
autofs-5.1.7 - remove unused variable from get_exports()
49b67f
49b67f
From: Ian Kent <raven@themaw.net>
49b67f
49b67f
Fix complier warning about unused variable entry in get_exports().
49b67f
49b67f
Signed-off-by: Ian Kent <raven@themaw.net>
49b67f
---
49b67f
 CHANGELOG              |    1 +
49b67f
 modules/lookup_hosts.c |    1 -
49b67f
 2 files changed, 1 insertion(+), 1 deletion(-)
49b67f
49b67f
--- autofs-5.1.4.orig/CHANGELOG
49b67f
+++ autofs-5.1.4/CHANGELOG
49b67f
@@ -49,6 +49,7 @@
49b67f
 - move amd mounts removal into lib/mounts.c.
49b67f
 - check for offset with no mount location.
49b67f
 - remove mounts_mutex.
49b67f
+- remove unused variable from get_exports().
49b67f
 
49b67f
 xx/xx/2018 autofs-5.1.5
49b67f
 - fix flag file permission.
49b67f
--- autofs-5.1.4.orig/modules/lookup_hosts.c
49b67f
+++ autofs-5.1.4/modules/lookup_hosts.c
49b67f
@@ -87,7 +87,6 @@ int lookup_read_master(struct master *ma
49b67f
 static char *get_exports(struct autofs_point *ap, const char *host)
49b67f
 {
49b67f
 	char buf[MAX_ERR_BUF];
49b67f
-	char entry[PATH_MAX + 1];
49b67f
 	char *mapent;
49b67f
 	struct exportinfo *exp, *this;
49b67f
 	size_t hostlen = strlen(host);