git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] dropping some more unused parameters
@ 2024-08-17  7:26 Jeff King
  2024-08-17  7:26 ` [PATCH 1/5] refs: drop some unused parameters from create_symref_lock() Jeff King
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jeff King @ 2024-08-17  7:26 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-17  7:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-17  7:26 [PATCH 0/5] dropping some more unused parameters Jeff King
2024-08-17  7:26 ` [PATCH 1/5] refs: drop some unused parameters from create_symref_lock() Jeff King
2024-08-17  7:26 ` [PATCH 2/5] pack-bitmap: load writer config from repository parameter Jeff King
2024-08-17  7:33   ` Eric Sunshine
2024-08-17  7:29 ` [PATCH 3/5] pack-bitmap: drop unused parameters from select_pseudo_merges() Jeff King
2024-08-17  7:29 ` [PATCH 4/5] ref-filter: drop unused parameters from email_atom_option_parser() Jeff King
2024-08-17  7:29 ` [PATCH 5/5] diff-lib: drop unused index argument from get_stat_data() Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).