From 64bc179f638f3096ed223c9dad79154af96891cd Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Mon, 21 Sep 2015 19:24:41 +0900 Subject: [PATCH] ecore_con: remove dead code. there won't reach with !wp because if wp is null, the iteration will jump to next iteration. --- src/lib/ecore_con/dns.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c index b52442704d..0100550680 100644 --- a/src/lib/ecore_con/dns.c +++ b/src/lib/ecore_con/dns.c @@ -3498,9 +3498,6 @@ int dns_hosts_loadfile(struct dns_hosts *hosts, FILE *fp) { break; default: - if (!wp) - break; - dns_d_anchor(ent.host, sizeof ent.host, word, wp); if ((error = dns_hosts_insert(hosts, ent.af, &ent.addr, ent.host, (wc > 2))))