libxbps: fixed all warnings found by clang.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100428213056-p1b7bh0llq8393r0
This commit is contained in:
@@ -34,18 +34,14 @@
|
||||
int HIDDEN
|
||||
xbps_remove_obsoletes(prop_dictionary_t oldd, prop_dictionary_t newd)
|
||||
{
|
||||
prop_object_iterator_t iter, iter2;
|
||||
prop_object_t obj, obj2;
|
||||
prop_string_t oldstr, newstr;
|
||||
prop_object_iterator_t iter, iter2 = NULL;
|
||||
prop_object_t obj, obj2 = NULL;
|
||||
prop_string_t oldstr = NULL, newstr = NULL;
|
||||
const char *array_str = "files";
|
||||
char *buf = NULL;
|
||||
int rv = 0;
|
||||
bool found, dolinks = false;
|
||||
|
||||
iter = iter2 = NULL;
|
||||
obj = obj2 = NULL;
|
||||
oldstr = newstr = NULL;
|
||||
|
||||
again:
|
||||
iter = xbps_get_array_iter_from_dict(oldd, array_str);
|
||||
if (iter == NULL)
|
||||
@@ -110,7 +106,7 @@ again:
|
||||
array_str = "links";
|
||||
prop_object_iterator_release(iter2);
|
||||
prop_object_iterator_release(iter);
|
||||
iter = iter2 = NULL;
|
||||
iter2 = NULL;
|
||||
goto again;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user