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;
|
continue;
|
||||||
}
|
}
|
||||||
dir = strdup(path);
|
dir = strdup(path);
|
||||||
if ((rv = parse_files_glob(xhp, NULL, dirname(dir), val, true)) != 0) {
|
rv = parse_files_glob(xhp, NULL, dirname(dir), val, true);
|
||||||
free(dir);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
free(dir);
|
free(dir);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user