[PATCH xquartz 08/10] osinit: Silence -Wunused-variable warnings
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...
Size: 810 bytes
Desc: not available
More information about the xorg-devel