These are from my pile of -Wunused-parameter fixes. The common theme here is that we're actually changing the code rather than just marking parameters with UNUSED. All of them just remove the parameters with the exception of patch 2, where we can actually make use of it (but even that one is not an observable bugfix because all callers were just passing in the_repository anyway). [1/5]: refs: drop some unused parameters from create_symref_lock() [2/5]: pack-bitmap: load writer config from repository parameter [3/5]: pack-bitmap: drop unused parameters from select_pseudo_merges() [4/5]: ref-filter: drop unused parameters from email_atom_option_parser() [5/5]: diff-lib: drop unused index argument from get_stat_data() diff-lib.c | 9 +++------ pack-bitmap-write.c | 4 ++-- pseudo-merge.c | 8 ++++---- pseudo-merge.h | 6 +++--- ref-filter.c | 5 ++--- refs/files-backend.c | 8 +++----- 6 files changed, 17 insertions(+), 23 deletions(-) -Peff