lib/conf.c: fix CID 284952 (Identical branches).
This commit is contained in:
parent
96acc6d8ef
commit
c5904cc6ef
@ -389,10 +389,7 @@ parse_file(struct xbps_handle *xhp, const char *path, bool nested)
|
||||
continue;
|
||||
}
|
||||
dir = strdup(path);
|
||||
if ((rv = parse_files_glob(xhp, NULL, dirname(dir), val, true)) != 0) {
|
||||
free(dir);
|
||||
break;
|
||||
}
|
||||
rv = parse_files_glob(xhp, NULL, dirname(dir), val, true);
|
||||
free(dir);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user