git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 0/9] more -Wunused-parameter fixes/annotations
Date: Wed, 14 Dec 2022 10:38:14 +0900	[thread overview]
Message-ID: <xmqqv8meydbt.fsf@gitster.g> (raw)
In-Reply-To: <Y5hdvpbLpXySHFRz@coredump.intra.peff.net> (Jeff King's message of "Tue, 13 Dec 2022 06:10:54 -0500")

Jeff King <peff@peff.net> writes:

> This was supposed to just be annotations, but after staring at a few of
> the cases, I think we're better off removing the unused parameters. I've
> floated those ones up to the top of the series.

All looked sensible.  Thanks.
>
>   [1/9]: ls-refs: use repository parameter to iterate refs
>   [2/9]: blob: drop unused parts of parse_blob_buffer()
>   [3/9]: list-objects: drop process_gitlink() function
>   [4/9]: ws: drop unused parameter from ws_blank_line()
>   [5/9]: xdiff: drop unused parameter in def_ff()
>   [6/9]: xdiff: mark unused parameter in xdl_call_hunk_func()
>   [7/9]: diff: mark unused parameters in callbacks
>   [8/9]: list-objects-filter: mark unused parameters in virtual functions
>   [9/9]: userdiff: mark unused parameter in internal callback
>
>  add-interactive.c           |  2 +-
>  apply.c                     |  4 ++--
>  blob.c                      |  3 +--
>  blob.h                      |  3 +--
>  builtin/add.c               |  2 +-
>  builtin/fast-export.c       |  2 +-
>  builtin/merge-tree.c        |  2 +-
>  builtin/merge.c             |  2 +-
>  builtin/rerere.c            |  2 +-
>  builtin/reset.c             |  3 ++-
>  builtin/submodule--helper.c |  2 +-
>  cache.h                     |  2 +-
>  combine-diff.c              |  2 +-
>  diff-lib.c                  |  2 +-
>  diff.c                      | 18 +++++++++---------
>  list-objects-filter.c       | 30 +++++++++++++++---------------
>  list-objects.c              | 33 +--------------------------------
>  ls-refs.c                   |  5 +++--
>  object.c                    |  5 ++---
>  range-diff.c                | 12 ++++++++----
>  ref-filter.c                |  5 +++--
>  refs.c                      |  9 +++++----
>  refs.h                      |  6 ++++--
>  revision.c                  | 25 +++++++++++++++----------
>  submodule.c                 |  2 +-
>  userdiff.c                  |  3 ++-
>  ws.c                        |  2 +-
>  wt-status.c                 |  4 ++--
>  xdiff/xdiffi.c              |  2 +-
>  xdiff/xemit.c               |  4 ++--
>  30 files changed, 90 insertions(+), 108 deletions(-)
>
> -Peff

      parent reply	other threads:[~2022-12-14  1:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-13 11:10 [PATCH 0/9] more -Wunused-parameter fixes/annotations Jeff King
2022-12-13 11:11 ` [PATCH 1/9] ls-refs: use repository parameter to iterate refs Jeff King
2022-12-13 11:11 ` [PATCH 2/9] blob: drop unused parts of parse_blob_buffer() Jeff King
2022-12-13 11:12 ` [PATCH 3/9] list-objects: drop process_gitlink() function Jeff King
2022-12-13 11:12 ` [PATCH 4/9] ws: drop unused parameter from ws_blank_line() Jeff King
2022-12-13 11:13 ` [PATCH 5/9] xdiff: drop unused parameter in def_ff() Jeff King
2022-12-13 11:13 ` [PATCH 6/9] xdiff: mark unused parameter in xdl_call_hunk_func() Jeff King
2022-12-13 11:13 ` [PATCH 7/9] diff: mark unused parameters in callbacks Jeff King
2022-12-13 11:14 ` [PATCH 8/9] list-objects-filter: mark unused parameters in virtual functions Jeff King
2022-12-13 11:16 ` [PATCH 9/9] userdiff: mark unused parameter in internal callback Jeff King
2022-12-14  1:38 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqv8meydbt.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).