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

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