diff --git a/parse.c b/parse.c index abef361..094ea73 100644 --- a/parse.c +++ b/parse.c @@ -373,9 +373,6 @@ parse_file(const char *filename, FILE *f) pkg_t *pkg; char readbuf[BUFSIZ]; - if (f == NULL) - return NULL; - pkg = calloc(sizeof(pkg_t), 1); pkg->filename = strdup(filename);