From 6c5066471c63adce5d413a5511951d89f6fd10be Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 7 Feb 2007 05:57:28 +0000 Subject: Cleanup and more debug info for alpm_pkg_compare_versions --- lib/libalpm/sync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libalpm/sync.c') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 3dcde337..6719f476 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -199,7 +199,6 @@ int _alpm_sync_sysupgrade(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_s /* match installed packages with the sync dbs and compare versions */ _alpm_log(PM_LOG_DEBUG, _("checking for package upgrades")); for(i = _alpm_db_get_pkgcache(db_local, INFRQ_NONE); i; i = i->next) { - int cmp; int replace=0; pmpkg_t *local = i->data; pmpkg_t *spkg = NULL; @@ -262,7 +261,7 @@ int _alpm_sync_addtarget(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sy pmpkg_t *local; pmpkg_t *spkg = NULL; pmsyncpkg_t *sync; - int cmp, repo_found = 0; + int repo_found = 0; ALPM_LOG_FUNC; -- cgit v1.2.3-54-g00ecf