Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 10:08:05 -0400
From:      David Chisnall <theraven@FreeBSD.org>
To:        Eitan Adler <eadler@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, Alexey Dokuchaev <danfe@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org
Subject:   Re: svn commit: r250430 - head/sbin/dmesg
Message-ID:  <B9131AF3-6954-4648-89C6-221F2EAA5904@FreeBSD.org>
In-Reply-To: <CAF6rxgntq78dOseBdB_o4a7Qk09kpzk1BS9KtCcW=gQSAa%2Bfhw@mail.gmail.com>
References:  <201305100342.r4A3gmc9080595@svn.freebsd.org> <20130510074235.GA19945@FreeBSD.org> <CAF6rxgkHDzMPY7za8z--SSPz3VJGisM_nT96CX9xxKvU4h5TxA@mail.gmail.com> <20130510133637.GA1679@FreeBSD.org> <CAF6rxgntq78dOseBdB_o4a7Qk09kpzk1BS9KtCcW=gQSAa%2Bfhw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10 May 2013, at 10:01, Eitan Adler <eadler@FreeBSD.org> wrote:

> I thought style(9) disliked the leading (void) but I could be wrong.

The cast to (void) tells the compiler that you are ignoring the return result.  Without it, you will introduce new warnings and break the build on certain compiler versions with -Werror.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9131AF3-6954-4648-89C6-221F2EAA5904>