calendar: remove useless check
lineline checked for 0 in the while loop condition. There is no need to check for it additionally in the body. CID: 1288959 MFC After: 1 week
This commit is contained in:
parent
9cb51c323b
commit
a06fddc3fc
@ -257,9 +257,6 @@ cal_parse(FILE *in, FILE *out)
|
||||
return (1);
|
||||
|
||||
while ((linelen = getline(&line, &linecap, in)) > 0) {
|
||||
if (linelen == 0)
|
||||
continue;
|
||||
|
||||
if (*line == '#') {
|
||||
switch (token(line+1, out, &skip)) {
|
||||
case T_ERR:
|
||||
|
Loading…
x
Reference in New Issue
Block a user