xbps-bin/install.c: remove unused vars, found by clang.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428193336-61glbrl5rnjpby4p
This commit is contained in:
Juan RP 2010-04-28 21:33:36 +02:00
parent 8ec438e168
commit db685f280d

View File

@ -96,7 +96,6 @@ download_package_list(prop_object_iterator_t iter)
const char *pkgver, *repoloc, *filename, *cachedir, *sha256;
char *binfile, *lbinfile;
int rv = 0;
bool found_binpkg;
cachedir = xbps_get_cachedir();
if (cachedir == NULL)
@ -106,7 +105,6 @@ download_package_list(prop_object_iterator_t iter)
xbps_fetch_set_cache_connection(0, 0);
while ((obj = prop_object_iterator_next(iter)) != NULL) {
found_binpkg = false;
if (!prop_dictionary_get_cstring_nocopy(obj,
"repository", &repoloc))
return errno;
@ -492,7 +490,7 @@ exec_transaction(struct transaction *trans)
*/
printf("\n[2/3] Unpacking\n");
while ((obj = prop_object_iterator_next(trans->iter)) != NULL) {
update = autoinst = preserve = false;
autoinst = preserve = false;
if (!prop_dictionary_get_cstring_nocopy(obj,
"pkgname", &pkgname))