[PATCH xquartz 08/10] osinit: Silence -Wunused-variable warnings

Keith Packard keithp at keithp.com
Fri Oct 16 08:05:06 PDT 2015

Jeremy Huddleston Sequoia <jeremyhu at apple.com> writes:

> I thought we required C99 now.  Was I mistaken in that?  If not, I'm
> fine with just leaving it as is and ignoring the warning.

We're not (yet) allowing mixed declarations and code. To get rid of the
warning (a good idea), you'll just need to duplicate the #ifdef's

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151016/a7428b48/attachment.sig>

More information about the xorg-devel mailing list