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