diff --git a/bin/xbps-repo/index-files.c b/bin/xbps-repo/index-files.c index f4b61038..6007102f 100644 --- a/bin/xbps-repo/index-files.c +++ b/bin/xbps-repo/index-files.c @@ -202,7 +202,7 @@ int repo_genindex_files(const char *pkgdir) { prop_dictionary_t idxdict; - struct index_files_data *ifd; + struct index_files_data *ifd = NULL; char *plist; int rv;