From 5f786b5cd7cd345c020bbe2e6eba78283def80aa Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 28 Nov 2016 10:07:25 +0100 Subject: [PATCH] host: fix -Wshadow warning --- src/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host.c b/src/host.c index d992b0a0c3..8df0cde874 100644 --- a/src/host.c +++ b/src/host.c @@ -275,7 +275,7 @@ void HostShutdown(void) /* clear and free the hash */ if (host_hash != NULL) { for (u = 0; u < host_config.hash_size; u++) { - Host *h = host_hash[u].head; + h = host_hash[u].head; while (h) { Host *n = h->hnext; HostFree(h);