raster pushed a commit to branch master.

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

commit ce311db03064d9e8b9de568396596fc54372da5b
Author: Nibha Sharma <nibha.sha...@samsung.com>
Date:   Tue Dec 16 19:59:39 2014 +0900

    ecore: removed switch case 0 condition
    
    Summary: It is removed because it was a deadcode case zero is never reached 
and executed.
    
    Reviewers: singh.amitesh, seoz, raster
    
    Reviewed By: raster
    
    Subscribers: raster, cedric
    
    Differential Revision: https://phab.enlightenment.org/D1432
---
 src/lib/ecore_con/dns.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c
index cdd93a2..9eff2c2 100644
--- a/src/lib/ecore_con/dns.c
+++ b/src/lib/ecore_con/dns.c
@@ -3491,8 +3491,6 @@ int dns_hosts_loadfile(struct dns_hosts *hosts, FILE *fp) 
{
                        wc++;
 
                        switch (wc) {
-                       case 0:
-                               break;
                        case 1:
                                ent.af  = (strchr(word, ':'))? AF_INET6 : 
AF_INET;
                                skip    = (1 != dns_inet_pton(ent.af, word, 
&ent.addr));

-- 


Reply via email to