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:
Juan RP 2010-01-28 17:44:23 +01:00
parent df5b800366
commit 83ab3fe977

View File

@ -36,9 +36,9 @@
int
xbps_autoremove_pkgs(bool force)
{
prop_array_t orphans;
prop_object_t obj;
prop_object_iterator_t iter;
prop_array_t orphans = NULL;
prop_object_t obj = NULL;
prop_object_iterator_t iter = NULL;
const char *pkgver, *pkgname, *version;
size_t cols = 0;
int rv = 0;