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:
Eitan Adler 2015-04-19 04:27:50 +00:00
parent 942fe63f7b
commit e4c6d6e268
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281723

View File

@ -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: