summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-25 11:58:16 -0400
committerDan McGee <dan@archlinux.org>2011-04-20 19:04:27 -0500
commitfdcfcf28a28006a4239e54a34129d3b099d0df0d (patch)
treee6d10237d54f55223791bd7397db8313c4348b5e /lib/libalpm/be_package.c
parenta6c05458d44afa27d0b8771e86bdb57facf66071 (diff)
downloadpacman-fdcfcf28a28006a4239e54a34129d3b099d0df0d.tar.xz
lib: remove dead code in be_local and be_package
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'lib/libalpm/be_package.c')
-rw-r--r--lib/libalpm/be_package.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
index e29850ba..91129127 100644
--- a/lib/libalpm/be_package.c
+++ b/lib/libalpm/be_package.c
@@ -101,14 +101,6 @@ static size_t _package_changelog_read(void *ptr, size_t size,
}
}
-/*
-static int _package_changelog_feof(const pmpkg_t *pkg, void *fp)
-{
- // note: this doesn't quite work, no feof in libarchive
- return archive_read_data((struct archive*)fp, NULL, 0);
-}
-*/
-
/**
* Close a package changelog for reading. Similar to fclose in functionality,
* except that the 'file stream' is from an archive.