[notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values
Karl Wiberg
kha at treskal.com
Mon Nov 23 05:19:18 PST 2009
On Mon, Nov 23, 2009 at 12:11 PM, Dirk-Jan Binnema <djcb.bulk at gmail.com> wrote:
> On Mon, Nov 23, 2009 at 9:34 AM, Karl Wiberg <kha at treskal.com> wrote:
>
> > Didn't the "(void)" suggestion work?
>
> I actually preferred that solution, but unfortunately, it didn't
> stop gcc from complaining...
Hmpf. I'd argue that that's a gcc bug, forcing the user to use an
unnecessarily complicated way to pretend to use the return value. Oh
well.
--
Karl Wiberg, kha at treskal.com
subrabbit.wordpress.com
www.treskal.com/kalle
More information about the notmuch
mailing list