tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: swscanf() causing Memory Fault

On Sun, Nov 16, 2008 at 05:49:55PM +0000, David Holland wrote:
> On Sun, Nov 16, 2008 at 04:08:46PM +0100, Hubert Feyrer wrote:
> >> Why cast a discarded return code to void?  That seems overly fussy to me.
> >
> > We've been doing this since ~forever: It's to tell lint(1) that we're aware 
> > of the fact that menset() returns something, and that we ignore it on 
> > purpose.
> ...which lint should know for itself. :-/

How is it supposed to know what I thought when I wrote a 
memset() call? Not even vigor can do that.


Home | Main Index | Thread Index | Old Index