xbps-bin/install.c: remove unused vars, found by clang.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100428193336-61glbrl5rnjpby4p
This commit is contained in:
parent
8ec438e168
commit
db685f280d
@ -96,7 +96,6 @@ download_package_list(prop_object_iterator_t iter)
|
|||||||
const char *pkgver, *repoloc, *filename, *cachedir, *sha256;
|
const char *pkgver, *repoloc, *filename, *cachedir, *sha256;
|
||||||
char *binfile, *lbinfile;
|
char *binfile, *lbinfile;
|
||||||
int rv = 0;
|
int rv = 0;
|
||||||
bool found_binpkg;
|
|
||||||
|
|
||||||
cachedir = xbps_get_cachedir();
|
cachedir = xbps_get_cachedir();
|
||||||
if (cachedir == NULL)
|
if (cachedir == NULL)
|
||||||
@ -106,7 +105,6 @@ download_package_list(prop_object_iterator_t iter)
|
|||||||
xbps_fetch_set_cache_connection(0, 0);
|
xbps_fetch_set_cache_connection(0, 0);
|
||||||
|
|
||||||
while ((obj = prop_object_iterator_next(iter)) != NULL) {
|
while ((obj = prop_object_iterator_next(iter)) != NULL) {
|
||||||
found_binpkg = false;
|
|
||||||
if (!prop_dictionary_get_cstring_nocopy(obj,
|
if (!prop_dictionary_get_cstring_nocopy(obj,
|
||||||
"repository", &repoloc))
|
"repository", &repoloc))
|
||||||
return errno;
|
return errno;
|
||||||
@ -492,7 +490,7 @@ exec_transaction(struct transaction *trans)
|
|||||||
*/
|
*/
|
||||||
printf("\n[2/3] Unpacking\n");
|
printf("\n[2/3] Unpacking\n");
|
||||||
while ((obj = prop_object_iterator_next(trans->iter)) != NULL) {
|
while ((obj = prop_object_iterator_next(trans->iter)) != NULL) {
|
||||||
update = autoinst = preserve = false;
|
autoinst = preserve = false;
|
||||||
|
|
||||||
if (!prop_dictionary_get_cstring_nocopy(obj,
|
if (!prop_dictionary_get_cstring_nocopy(obj,
|
||||||
"pkgname", &pkgname))
|
"pkgname", &pkgname))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user