On Mon, Nov 23, 2009 at 9:34 AM, Karl Wiberg <kha at treskal.com> wrote:

> On Mon, Nov 23, 2009 at 7:20 AM, Dirk-Jan C. Binnema
> <djcb.bulk at gmail.com> wrote:
>
> > +    ssize_t ignored;
> >     static char msg[] = "Stopping...         \n";
> > -    write(2, msg, sizeof(msg)-1);
> > +
> > +    ignored = write(2, msg, sizeof(msg)-1);
> >     interrupted = 1;
> >  }
>
> Didn't the "(void)" suggestion work?
>
>
I actually preferred that solution, but unfortunately, it didn't stop gcc
from complaining...

Best wishes,
Dirk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://notmuchmail.org/pipermail/notmuch/attachments/20091123/7ea82ed8/attachment.htm>

Reply via email to