Fix all warnings found by clang analyzer as reported by ojab in issue 3.

This commit is contained in:
Juan RP
2011-02-03 17:49:43 +01:00
parent 0a26497b50
commit 097b50b3c2
6 changed files with 5 additions and 7 deletions

View File

@ -163,7 +163,7 @@ unpack_archive(prop_dictionary_t pkg_repod,
void (*progress_cb)(void *),
struct xbps_unpack_progress_data *xupd)
{
prop_dictionary_t propsd, filesd, old_filesd;
prop_dictionary_t propsd = NULL, filesd = NULL, old_filesd = NULL;
prop_array_t array;
struct archive_entry *entry;
size_t nmetadata = 0, entry_idx = 0;