Re: [PATCH 02/16] util: document the rationale for the string table

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

 



On Mon, 2009-05-18 at 17:11 +0100, Alan Jenkins wrote:
> On 5/18/09, Andreas Robinson <andr345@xxxxxxxxx> wrote:
> > Signed-off-by: Andreas Robinson <andr345@xxxxxxxxx>
> 
> >  /*
> > + * strtbl_destroy - string table destructor
> > + */
> > +void strtbl_free(struct string_table *tbl)
> > +{
> > +	free(tbl);
> > +}
> 
> The comment is already out of sync with the code :-).

LOL! Nice catch. I suppose that's a lesson in why it's bad to document
your code. ;-)

Cheers,
Andreas


--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux