hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=64bc179f638f3096ed223c9dad79154af96891cd

commit 64bc179f638f3096ed223c9dad79154af96891cd
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Mon Sep 21 19:24:41 2015 +0900

    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 b524427..0100550 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))))

-- 


Reply via email to