diff --git a/bin/xbps-bin/remove.c b/bin/xbps-bin/remove.c index 5d780abf..d8e5a6d4 100644 --- a/bin/xbps-bin/remove.c +++ b/bin/xbps-bin/remove.c @@ -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;