summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/dns.c
diff options
context:
space:
mode:
authorNibha Sharma <nibha.sharma@samsung.com>2014-12-16 19:59:39 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-12-16 19:59:40 +0900
commitce311db03064d9e8b9de568396596fc54372da5b (patch)
tree898aaed9920883aacf6034e179122985e7c20817 /src/lib/ecore_con/dns.c
parentd8b6271fdcda0ae0790ccfee09e9c19b72314f65 (diff)
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
Diffstat (limited to 'src/lib/ecore_con/dns.c')
-rw-r--r--src/lib/ecore_con/dns.c2
1 files changed, 0 insertions, 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) {
3491 wc++; 3491 wc++;
3492 3492
3493 switch (wc) { 3493 switch (wc) {
3494 case 0:
3495 break;
3496 case 1: 3494 case 1:
3497 ent.af = (strchr(word, ':'))? AF_INET6 : AF_INET; 3495 ent.af = (strchr(word, ':'))? AF_INET6 : AF_INET;
3498 skip = (1 != dns_inet_pton(ent.af, word, &ent.addr)); 3496 skip = (1 != dns_inet_pton(ent.af, word, &ent.addr));