[Mesa-dev] [PATCH 5/6] i965: Silence unused parameter warning

Carl Worth cworth at cworth.org
Sat Feb 28 10:39:02 PST 2015

On Sat, Feb 28 2015, Ilia Mirkin wrote:
> Another clean alternative is to leave the name of the variable out, i.e.
> function(struct gl_context *)

Wow. Less is more! I hadn't realized that's a solution for this, but
it's really elegant.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150228/abad7284/attachment.sig>

More information about the mesa-dev mailing list