lib/package_remove.c: fix uninitialized xbps_array_t
This commit is contained in:
parent
c815d3d5f5
commit
df22b0384d
@ -110,7 +110,7 @@ int HIDDEN
|
|||||||
xbps_remove_pkg(struct xbps_handle *xhp, const char *pkgver, bool update)
|
xbps_remove_pkg(struct xbps_handle *xhp, const char *pkgver, bool update)
|
||||||
{
|
{
|
||||||
xbps_dictionary_t pkgd = NULL, obsd = NULL;
|
xbps_dictionary_t pkgd = NULL, obsd = NULL;
|
||||||
xbps_array_t obsoletes;
|
xbps_array_t obsoletes = NULL;
|
||||||
char *pkgname, metafile[PATH_MAX];
|
char *pkgname, metafile[PATH_MAX];
|
||||||
int rv = 0;
|
int rv = 0;
|
||||||
pkg_state_t state = 0;
|
pkg_state_t state = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user