Previous refactoring of pkg_hash_fetch_unsatisfied_dependencies() caused the
outermost loop counter variable to not get incremented anymore, causing the
function to always report the first dependency as unsatisifed.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
the_lost = NULL;
/* foreach dependency */
- for (; compound_depend && compound_depend->type; compound_depend++) {
+ for (i = 0; compound_depend && compound_depend->type; compound_depend++, i++) {
depend_t **possible_satisfiers =
compound_depend->possibilities;;
found = 0;