git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/15] marking some more unused parameters
@ 2024-08-17  8:21 Jeff King
  2024-08-17  8:21 ` [PATCH 01/15] imap-send: mark unused parameter in ssl_socket_connect() fallback Jeff King
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Jeff King @ 2024-08-17  8:21 UTC (permalink / raw)
  To: git

These are from my pile of -Wunused-parameter fixes. I built this on top
of the "dropping" series I just posted at:

  https://lore.kernel.org/git/20240817072621.GA1535666@coredump.intra.peff.net/

but it should also be fine to apply it in parallel. This should
hopefully be pretty quick to review, as it's only marking things UNUSED,
and never removing them or changing code.

  [01/15]: imap-send: mark unused parameter in ssl_socket_connect() fallback
  [02/15]: update-ref: mark more unused parameters in parser callbacks
  [03/15]: refs: mark unused parameters in ref_store fsck callbacks
  [04/15]: refs: mark unused parameters in do_for_each_reflog_helper()
  [05/15]: oss-fuzz: mark unused argv/argc argument
  [06/15]: t/helper: mark more unused argv/argc arguments
  [07/15]: unit-tests: ignore unused argc/argv
  [08/15]: reftable: ignore unused argc/argv in test functions
  [09/15]: reftable: drop obsolete test function declarations
  [10/15]: reftable: mark unused parameters in virtual functions
  [11/15]: t-hashmap: mark unused parameters in callback function
  [12/15]: test-mergesort: mark unused parameters in trivial callback
  [13/15]: setup: mark unused parameter in config callback
  [14/15]: daemon: mark unused parameters in non-posix fallbacks
  [15/15]: scalar: mark unused parmaeters in dummy function

 builtin/update-ref.c             |  8 ++++----
 daemon.c                         |  6 +++---
 imap-send.c                      |  2 +-
 oss-fuzz/dummy-cmd-main.c        |  2 +-
 refs.c                           |  5 +++--
 refs/packed-backend.c            |  4 ++--
 refs/reftable-backend.c          | 18 +++++++++---------
 reftable/block_test.c            |  2 +-
 reftable/blocksource.c           |  8 ++++----
 reftable/generic.c               |  8 +++++---
 reftable/iter.c                  |  3 ++-
 reftable/readwrite_test.c        |  2 +-
 reftable/record.c                | 31 ++++++++++++++++++-------------
 reftable/reftable-tests.h        |  2 --
 reftable/stack_test.c            |  6 +++---
 reftable/test_framework.c        |  2 +-
 reftable/writer.c                |  2 +-
 scalar.c                         |  3 ++-
 setup.c                          |  2 +-
 t/helper/test-example-tap.c      |  2 +-
 t/helper/test-hashmap.c          |  2 +-
 t/helper/test-mergesort.c        |  2 +-
 t/unit-tests/t-ctype.c           |  2 +-
 t/unit-tests/t-hash.c            |  2 +-
 t/unit-tests/t-hashmap.c         |  3 ++-
 t/unit-tests/t-mem-pool.c        |  2 +-
 t/unit-tests/t-prio-queue.c      |  2 +-
 t/unit-tests/t-reftable-basics.c |  2 +-
 t/unit-tests/t-reftable-merged.c |  4 ++--
 t/unit-tests/t-reftable-pq.c     |  2 +-
 t/unit-tests/t-reftable-record.c |  2 +-
 t/unit-tests/t-reftable-tree.c   |  2 +-
 t/unit-tests/t-strbuf.c          |  2 +-
 t/unit-tests/t-strcmp-offset.c   |  2 +-
 t/unit-tests/t-strvec.c          |  2 +-
 t/unit-tests/t-trailer.c         |  2 +-
 36 files changed, 81 insertions(+), 72 deletions(-)

-Peff

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

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

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-17  8:21 [PATCH 0/15] marking some more unused parameters Jeff King
2024-08-17  8:21 ` [PATCH 01/15] imap-send: mark unused parameter in ssl_socket_connect() fallback Jeff King
2024-08-17  8:21 ` [PATCH 02/15] update-ref: mark more unused parameters in parser callbacks Jeff King
2024-08-17  8:22 ` [PATCH 03/15] refs: mark unused parameters in ref_store fsck callbacks Jeff King
2024-08-17  8:22 ` [PATCH 04/15] refs: mark unused parameters in do_for_each_reflog_helper() Jeff King
2024-08-17  8:22 ` [PATCH 05/15] oss-fuzz: mark unused argv/argc argument Jeff King
2024-08-17  8:22 ` [PATCH 06/15] t/helper: mark more unused argv/argc arguments Jeff King
2024-08-17  8:23 ` [PATCH 07/15] unit-tests: ignore unused argc/argv Jeff King
2024-08-17  8:23 ` [PATCH 08/15] reftable: ignore unused argc/argv in test functions Jeff King
2024-08-17  8:24 ` [PATCH 09/15] reftable: drop obsolete test function declarations Jeff King
2024-08-17  8:24 ` [PATCH 10/15] reftable: mark unused parameters in virtual functions Jeff King
2024-08-17  8:24 ` [PATCH 11/15] t-hashmap: mark unused parameters in callback function Jeff King
2024-08-17 14:32   ` Ghanshyam Thakkar
2024-08-17 17:18     ` Jeff King
2024-08-17  8:25 ` [PATCH 12/15] test-mergesort: mark unused parameters in trivial callback Jeff King
2024-08-17  8:25 ` [PATCH 13/15] setup: mark unused parameter in config callback Jeff King
2024-08-17  8:25 ` [PATCH 14/15] daemon: mark unused parameters in non-posix fallbacks Jeff King
2024-08-17  8:25 ` [PATCH 15/15] scalar: mark unused parameters in dummy function 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).