xbps-bin/remove.c: set some pointers to NULL before checking them.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100128164423-i00yg3xp3nlsoh6j
This commit is contained in:
parent
df5b800366
commit
83ab3fe977
@ -36,9 +36,9 @@
|
|||||||
int
|
int
|
||||||
xbps_autoremove_pkgs(bool force)
|
xbps_autoremove_pkgs(bool force)
|
||||||
{
|
{
|
||||||
prop_array_t orphans;
|
prop_array_t orphans = NULL;
|
||||||
prop_object_t obj;
|
prop_object_t obj = NULL;
|
||||||
prop_object_iterator_t iter;
|
prop_object_iterator_t iter = NULL;
|
||||||
const char *pkgver, *pkgname, *version;
|
const char *pkgver, *pkgname, *version;
|
||||||
size_t cols = 0;
|
size_t cols = 0;
|
||||||
int rv = 0;
|
int rv = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user