[PATCH 2/2] Make old code pass gcc -Wall -Wextra.

Tomash Brechko tomash.brechko at gmail.com
Thu Nov 8 09:42:43 UTC 2007

On Thu, Nov 08, 2007 at 01:30:38 -0800, Marc wrote:
> Some of these are good, but the unused parameter warnings seem like a
> nuisance and somewhat wrongheaded (As long as an implementation satifies the
> contract of an API it doesn¹t matter whether it used all or any of the
> parameters.).  I think a cleanup against ³­Wextra ­Wunused-variable¹ might
> be more reasonable.  (And those would be reason default CFLAGS to add to
> configure.ac)

A agree that SUPPRESS_UNUSED_WARNING() looks rather ugly.

   Tomash Brechko

More information about the memcached mailing list