forked from ariadne/pkgconf
queue: when flattening do nothing if the flattened deps are empty
parent
43d5328575
commit
2b310c570f
|
@ -194,6 +194,9 @@ next:
|
|||
pkgconf_pkg_unref(client, pkg);
|
||||
}
|
||||
|
||||
if (deps == NULL)
|
||||
return;
|
||||
|
||||
qsort(deps, dep_count, sizeof (void *), dep_sort_cmp);
|
||||
|
||||
/* zero the list and start readding */
|
||||
|
|
Loading…
Reference in New Issue