Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.

This commit is contained in:
Matt Kraai 2000-10-16 16:22:27 +00:00
parent 567cdd1d51
commit 4f94e826cf

View File

@ -1637,11 +1637,6 @@ extern int print_file_by_name(char *filename)
if ((file = wfopen(filename, "r")) == NULL)
return FALSE;
print_file(file);
if (errno) {
errorMsg("%s: %s\n", filename, strerror(errno));
errno = 0;
return FALSE;
}
return TRUE;
}
#endif /* BB_CAT */