svn commit: r257298 - head/lib/libproc
Bruce Evans
brde at optusnet.com.au
Tue Oct 29 19:21:33 UTC 2013
On Tue, 29 Oct 2013, Mark Johnston wrote:
> On Wed, Oct 30, 2013 at 12:21:28AM +1100, Bruce Evans wrote:
>> On Tue, 29 Oct 2013, Mark Johnston wrote:
>>
>>> Log:
>>> Revert r257248 and fix the problem in a way that doesn't violate style(9).
>>
>> Why did gcc complain about the original version?
>
> It looks like this is because of the use of -W, which is apparently an
> alias for -Wextra; according to the gcc man page, this will trigger a
> warning when "an empty body occurs in an if or else statement."
Thanks. I have -W in some CFLAGS but never noticed this behaviour before.
Bruce
More information about the svn-src-head
mailing list