errata: Why does lint complain?

John E. Davis davis at pacific.mps.ohio-state.edu
Mon Feb 18 12:53:49 AEST 1991


In article <DAVIS.91Feb17165236 at pacific.mps.ohio-state.edu>
I wrote:
   [...]  
   Now here is the lint output:

   [pacific]>lint test.c
   test.c(9): warning: c may be used before set
   test.c(9): warning: cur_time may be used before set
   time value declared inconsistently	llib-lc(729)  ::  test.c(10)
   exit value declared inconsistently	llib-lc(232)  ::  test.c(19)
   [pacific]>

This should be:

   [pacific]>lint test.c
   time value declared inconsistently	llib-lc(729)  ::  test.c(10)
   exit value declared inconsistently	llib-lc(232)  ::  test.c(19)
   [pacific]>


I posted the wrong lint.
Thanks to steve at unidata.ucar.edu (Steve Emmerson) for pointing this out.

Also this is on a sun 4 system.

Sorry for the inconvenience.

--
John

  bitnet: davis at ohstpy
internet: davis at pacific.mps.ohio-state.edu



More information about the Comp.lang.c mailing list