Discarded Function Values (To Cast or Not to Cast)

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Nov 19 11:57:42 AEST 1989


In article <1989Nov18.062322.12728 at twwells.com> bill at twwells.com (T. William Wells) writes:
>I don't worry about lint warnings about functions whose return
>value is never used. It is generally a very short list, ...

If it isn't a problem for you, more power to you.
I find that I am less likely to overlook genuine problems
reported by "lint" if NO lint output is expected than if
SOME lint output is expected.  This is difficult to enforce
when malloc() is involved, although there are ways.



More information about the Comp.lang.c mailing list