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

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