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