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

Re: [PATCH 0/3] imap-send: some -Wunused-parameter cleanups

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 5, 2023, 17:18 UTC
Message-ID
<xmqqa5wa2s6d.fsf@gitster.g>
In-Reply-To
<20230703063247.GA3524302@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Here are a few patches where I opted to clean up code rather than
> marking parameters with UNUSED. Plus a bonus cleanup in patch 3 (though
> I am also OK to drop that one;
> I don't care much about the imap-send
> code, and I'd be just as happy if we deprecated and eventually dropped
> the tool).
Thanks---I too was wondering when we can drop 'imap-send' ;-)
Show 8 quoted lines
>   [1/3]: imap-send: use server conf argument in setup_curl()
>   [2/3]: imap-send: drop unused parameter from imap_cmd_cb callback
>   [3/3]: imap-send: drop unused fields from imap_cmd_cb
>
>  imap-send.c | 34 +++++++++++++++-------------------
>  1 file changed, 15 insertions(+), 19 deletions(-)
>
> -Peff
Previous: Jeff King
Message 7 of 7 in “imap-send: some -Wunused-parameter cleanups”
  1. 0/3 imap-send: some -Wunused-parameter cleanupsJeff King, Jul 3, 2023
  2. 1/3 imap-send: use server conf argument in setup_curl()Jeff King, Jul 3, 2023
  3. Junio C HamanoJul 5, 2023
  4. 2/3 imap-send: drop unused parameter from imap_cmd_cb callbackJeff King, Jul 3, 2023
  5. Junio C HamanoJul 5, 2023
  6. 3/3 imap-send: drop unused fields from imap_cmd_cbJeff King, Jul 3, 2023
  7. Junio C HamanoJul 5, 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.