projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c8544
)
ecore_con: remove dead code.
author
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 21 Sep 2015 10:24:41 +0000
(19:24 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 21 Sep 2015 10:26:15 +0000
(19:26 +0900)
there won't reach with !wp because if wp is null,
the iteration will jump to next iteration.
src/lib/ecore_con/dns.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_con/dns.c
b/src/lib/ecore_con/dns.c
index
b524427
..
0100550
100644
(file)
--- 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))))