[PATCH] sparse: suppress an using sizeof on a function warning

2014-11-07 Thread Ramsay Jones
Commit d57da44b1 (imap-send: use libcurl for implementation, 06-11-2014) updates the implementation of the imap-send command to make use of libcurl's high(er)-level API functions. In doing so, this introduces a sparse warning about using sizeof on a function. In order to suppress the warning, we

Re: [PATCH] sparse: suppress an using sizeof on a function warning

2014-11-07 Thread ockham
Zitat von Ramsay Jones ram...@ramsay1.demon.co.uk: Commit d57da44b1 (imap-send: use libcurl for implementation, 06-11-2014) updates the implementation of the imap-send command to make use of libcurl's high(er)-level API functions. In doing so, this introduces a sparse warning about using

Re: [PATCH] sparse: suppress an using sizeof on a function warning

2014-11-07 Thread Junio C Hamano
ock...@raz.or.at writes: Hi Ramsay, and thanks for your fix! TBH, I didn't even notice that my patch had already been committed and instead posted a refined version earlier today [1] (which unfortunately didn't contain your fix, either). Not sure how to proceed. Maybe Junio can enlighten?

Re: [PATCH] sparse: suppress an using sizeof on a function warning

2014-11-07 Thread ockham
Zitat von Junio C Hamano gits...@pobox.com: Your patch is merely queued on 'pu' (proposed updates), which we all expect to be rerolled. You can just reroll another round, but you might want to wait a bit to see if there are more issues spotted by other people before doing so. Okay, I clearly