xbps-bin::install.c: remove unused var to make this build with gcc-4.6.
Reported and patch provided by ojab in issue 4.
This commit is contained in:
@ -383,7 +383,6 @@ xbps_update_pkg(const char *pkgname)
|
|||||||
static int
|
static int
|
||||||
exec_transaction(struct transaction *trans)
|
exec_transaction(struct transaction *trans)
|
||||||
{
|
{
|
||||||
const struct xbps_handle *xhp;
|
|
||||||
prop_dictionary_t instpkgd;
|
prop_dictionary_t instpkgd;
|
||||||
prop_object_t obj;
|
prop_object_t obj;
|
||||||
const char *pkgname, *version, *pkgver, *instver, *filen, *tract;
|
const char *pkgname, *version, *pkgver, *instver, *filen, *tract;
|
||||||
@ -391,7 +390,6 @@ exec_transaction(struct transaction *trans)
|
|||||||
bool update, preserve, autoinst;
|
bool update, preserve, autoinst;
|
||||||
pkg_state_t state;
|
pkg_state_t state;
|
||||||
|
|
||||||
xhp = xbps_handle_get();
|
|
||||||
/*
|
/*
|
||||||
* Only show the URLs to download the binary packages.
|
* Only show the URLs to download the binary packages.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user