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

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