diff options
author | Allan McRae <allan@archlinux.org> | 2011-04-29 13:10:09 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-04 22:53:49 +0200 |
commit | 7680f461575b63b592090dbf76c13aa7040b840b (patch) | |
tree | ccb441805c86204e497ae7a89db8cbb8072e66b1 /lib/libalpm/be_sync.c | |
parent | c4fccfe3e65c17ee5284e10570f9a8fd20e361fa (diff) | |
download | pacman-7680f461575b63b592090dbf76c13aa7040b840b.tar.gz pacman-7680f461575b63b592090dbf76c13aa7040b840b.tar.xz |
Deal with unused function parameters correctly
This started off removing the "(void)foo" hacks to work around
unused function parameters and ended up fixing every warning
generated by -Wunused-parameter.
Dan: rename to UNUSED.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_sync.c')
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 591747da..a5633611 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -494,7 +494,7 @@ error: return 0; } -static int sync_db_version(pmdb_t *db) +static int sync_db_version(pmdb_t UNUSED *db) { return 2; } |