Skip to content

imap-send: some -Wunused-parameter cleanups

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3imap-send: use server conf argument in setup_curl()imap-send.c+12 -121 reply
2/3imap-send: drop unused parameter from imap_cmd_cb callbackimap-send.c+3 -31 reply
3/3imap-send: drop unused fields from imap_cmd_cbimap-send.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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).

[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