Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.
This commit is contained in:
parent
567cdd1d51
commit
4f94e826cf
@ -1637,11 +1637,6 @@ extern int print_file_by_name(char *filename)
|
|||||||
if ((file = wfopen(filename, "r")) == NULL)
|
if ((file = wfopen(filename, "r")) == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
print_file(file);
|
print_file(file);
|
||||||
if (errno) {
|
|
||||||
errorMsg("%s: %s\n", filename, strerror(errno));
|
|
||||||
errno = 0;
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
#endif /* BB_CAT */
|
#endif /* BB_CAT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user