index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-07 05:57:28 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-07 05:57:28 +0000 |
commit | 6c5066471c63adce5d413a5511951d89f6fd10be (patch) | |
tree | 95fa9a1701d89a66920009ebf6eb2772babdd5ab /lib/libalpm/sync.c | |
parent | ad224b2703cee5271cc419a32d8400ed1ad45554 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 3 |
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; |