Signed-off-by: Jo-Philipp Wich <jo@mein.io>
opkg_progress_data_t pdata;
pkg_t *old, *new;
pkg_vec_t *deps, *all;
- int i, ndepends;
+ int i;
char **unresolved = NULL;
const char *filename;
/* find dependancies and download them */
deps = pkg_vec_alloc();
/* this function does not return the original package, so we insert it later */
- ndepends = pkg_hash_fetch_unsatisfied_dependencies(new, deps,
- &unresolved);
+ pkg_hash_fetch_unsatisfied_dependencies(new, deps, &unresolved);
if (unresolved) {
char **tmp = unresolved;
opkg_msg(ERROR, "Couldn't satisfy the following dependencies"