aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-01-02 23:16:03 +0000
committerEvan Huus <eapache@gmail.com>2013-01-02 23:16:03 +0000
commit17a05dfae0dde8127b2423e65f8c5cee0bf1238e (patch)
treecb345acee4e56bd2f7103a9344f682609429c9f1 /epan/addr_resolv.c
parent85d59a5509f5f22968d3cd9a5e7f6500cdfcb63f (diff)
Remove unused file handle that appears to have been left over by
accident after a refactor. svn path=/trunk/; revision=46907
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index fd4f7d4383..f35f39e7d1 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -2079,16 +2079,12 @@ read_hosts_file (const char *hostspath)
gboolean
add_hosts_file (const char *hosts_file)
{
- FILE *hf;
gboolean found = FALSE;
guint i;
if (!hosts_file)
return FALSE;
- if ((hf = ws_fopen(hosts_file, "r")) == NULL)
- return FALSE;
-
if (!extra_hosts_files)
extra_hosts_files = g_ptr_array_new();