[systemd-devel] eudev fork and patches there
Lennart Poettering
lennart at poettering.net
Wed Dec 19 15:13:00 PST 2012
On Wed, 19.12.12 20:38, Tollef Fog Heen (tfheen at err.no) wrote:
>
> ]] Lennart Poettering
>
> > (In contrast to checking frwite() and friends on every single invocation
> > it is usually nicer to just check ferror() after one is done with
> > everything one had to do...)
>
> In that case, it's probably better to explicitly ignore the return value
> by casting it to void and so avoid warnings from the compiler.
We don't use the compiler warning flags that would trigger warnings like
these...
I am not too much of a fan of prefixing every second line with (void)....
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list