lib/sortdeps.c: remove useless check.
--HG-- extra : convert_revision : f1fd20ffc9f77187173422e44aee1a3c369f96cb
This commit is contained in:
parent
c1bc7a6a3c
commit
db6b1526d4
1 changed files with 1 additions and 2 deletions
|
@ -147,8 +147,7 @@ again:
|
||||||
prop_object_iterator_release(iter2);
|
prop_object_iterator_release(iter2);
|
||||||
|
|
||||||
/* Add dependency if all its required deps are already added */
|
/* Add dependency if all its required deps are already added */
|
||||||
if (rundepscnt != 0 &&
|
if (prop_array_count(rundeps) == rundepscnt) {
|
||||||
(prop_array_count(rundeps) == rundepscnt)) {
|
|
||||||
sdep->dict = prop_dictionary_copy(obj);
|
sdep->dict = prop_dictionary_copy(obj);
|
||||||
SIMPLEQ_INSERT_TAIL(&sdep_list, sdep, chain);
|
SIMPLEQ_INSERT_TAIL(&sdep_list, sdep, chain);
|
||||||
rundepscnt = 0;
|
rundepscnt = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue