On Wed, 19.12.12 20:38, Tollef Fog Heen ([email protected]) 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. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
