git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/4] more unused-parameter fixes

From
Jeff King <peff@peff.net>
Date
Mar 17, 2023, 19:13 UTC
Message-ID
<ZBS77VYL9ZrxKtCN@coredump.intra.peff.net>

Here are a few more patches to silence some -Wunused-parameter warnings. I've pulled these ones out specifically because they're a little more interesting than just "slap an UNUSED marker on the variable".

  [1/4]: mailmap: drop debugging code
  [2/4]: http: drop unused parameter from start_object_request()
  [3/4]: http: mark unused parameter in fill_active_slot() callbacks
  [4/4]: transport: mark unused parameters in fetch_refs_from_bundle()
 http-push.c   |  2 +-
 http-walker.c | 11 +++++------
 mailmap.c     | 42 +++---------------------------------------
 transport.c   |  3 ++-
 4 files changed, 11 insertions(+), 47 deletions(-)
-Peff
Next: Jeff King
Message 1 of 8 in “more unused-parameter fixes”
  1. 0/4 more unused-parameter fixesJeff King, Mar 17, 2023
  2. 1/4 mailmap: drop debugging codeJeff King, Mar 17, 2023
  3. Eric SunshineMar 17, 2023
  4. Jeff KingMar 17, 2023
  5. 2/4 http: drop unused parameter from start_object_request()Jeff King, Mar 17, 2023
  6. 3/4 http: mark unused parameter in fill_active_slot() callbacksJeff King, Mar 17, 2023
  7. 4/4 transport: mark unused parameters in fetch_refs_from_bundle()Jeff King, Mar 17, 2023
  8. Junio C HamanoMar 17, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.