summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_upgrade.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-27 00:32:52 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-27 00:32:52 (EST)
commitb2b5908e2c248f7d21bde6cee2c523b24793dfa1 (patch)
treece4ef99b5d0f717c78854d1387f9a308130c6109 /libopkg/opkg_upgrade.c
parent9656d4499de22e10b079c249b70e4dc9ef8e7970 (diff)
Remove unused parameter from pkg_hash_fetch_best_installation_candidate().
git-svn-id: http://opkg.googlecode.com/svn/trunk@397 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_upgrade.c')
-rw-r--r--libopkg/opkg_upgrade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/opkg_upgrade.c b/libopkg/opkg_upgrade.c
index 8df37d0..f0ae875 100644
--- a/libopkg/opkg_upgrade.c
+++ b/libopkg/opkg_upgrade.c
@@ -34,7 +34,7 @@ opkg_upgrade_pkg(opkg_conf_t *conf, pkg_t *old)
return 0;
}
- new = pkg_hash_fetch_best_installation_candidate_by_name(conf, old->name, NULL);
+ new = pkg_hash_fetch_best_installation_candidate_by_name(conf, old->name);
if (new == NULL) {
old_version = pkg_version_str_alloc(old);
opkg_message(conf, OPKG_NOTICE,
@@ -116,7 +116,7 @@ prepare_upgrade_list(opkg_conf_t *conf)
int cmp;
old = list_entry(node, pkg_t, list);
- new = pkg_hash_fetch_best_installation_candidate_by_name(conf, old->name, NULL);
+ new = pkg_hash_fetch_best_installation_candidate_by_name(conf, old->name);
if (new == NULL)
continue;