index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-04-29 21:10:09 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-04 15:53:49 -0500 |
commit | 7680f461575b63b592090dbf76c13aa7040b840b (patch) | |
tree | ccb441805c86204e497ae7a89db8cbb8072e66b1 /lib/libalpm/be_package.c | |
parent | c4fccfe3e65c17ee5284e10570f9a8fd20e361fa (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 4 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 20445756..9e59d69a 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -87,7 +87,7 @@ static void *_package_changelog_open(pmpkg_t *pkg) * @return the number of characters read, or 0 if there is no more data */ static size_t _package_changelog_read(void *ptr, size_t size, - const pmpkg_t *pkg, const void *fp) + const pmpkg_t UNUSED *pkg, const void *fp) { ssize_t sret = archive_read_data((struct archive *)fp, ptr, size); /* Report error (negative values) */ @@ -106,7 +106,7 @@ static size_t _package_changelog_read(void *ptr, size_t size, * @param fp a 'file stream' to the package changelog * @return whether closing the package changelog stream was successful */ -static int _package_changelog_close(const pmpkg_t *pkg, void *fp) +static int _package_changelog_close(const pmpkg_t UNUSED *pkg, void *fp) { return archive_read_finish((struct archive *)fp); } |