On Tue, May 03, 2016 at 12:25:05PM +0200, Vincent Lefevre wrote:
> About mutt_window_getyx in curs_lib.c:
> Wouldn't it be cleaner to accept null pointers and do the assignment
> only when the pointer is not null?

Yes, absolutely.  That's a great suggestion.  Thank you.

> One way to explicitly silent the "unused var" warning is to do:
> 
>   (void) y;  /* don't care about y: avoiding unused var warning */

Thanks again.  I was sure there was a better way to deal with this, but
couldn't think of anything at the time.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to