summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/sync.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 3a366aad..a3553c27 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -109,7 +109,6 @@ static pmsyncpkg_t *find_pkginsync(char *needle, PMList *haystack)
PMList *_alpm_sync_load_dbarchive(char *archive)
{
PMList *lp = NULL;
- DIR *dir = NULL;
TAR *tar = NULL;
tartype_t gztype = {
(openfunc_t)_alpm_gzopen_frontend,
@@ -123,10 +122,6 @@ PMList *_alpm_sync_load_dbarchive(char *archive)
goto error;
}
- /* ORE - readdir tmp_dir */
- /* for each subdir, parse %s/desc and %s/depends */
- /* then db_write it */
-
tar_close(tar);
return(lp);
@@ -135,9 +130,6 @@ error:
if(tar) {
tar_close(tar);
}
- if(dir) {
- closedir(dir);
- }
return(NULL);
}