projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dead code: FLDEOF and BODYEOF are never set
[mmh]
/
uip
/
slocal.c
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
eac77e4
..
ca267fa
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-760,7
+760,6
@@
parse(int fd)
switch (state = m_getfld(state, name, field, sizeof(field),
in)) {
case FLD:
switch (state = m_getfld(state, name, field, sizeof(field),
in)) {
case FLD:
- case FLDEOF:
case FLDPLUS:
lp = getcpy(field);
while (state == FLDPLUS) {
case FLDPLUS:
lp = getcpy(field);
while (state == FLDPLUS) {
@@
-795,13
+794,9
@@
parse(int fd)
p++, i++;
p->p_name = NULL;
}
p++, i++;
p->p_name = NULL;
}
- if (state != FLDEOF) {
- continue;
- }
- break;
+ continue;
case BODY:
case BODY:
- case BODYEOF:
case FILEEOF:
break;
case FILEEOF:
break;