This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: funny thing in read.c
- To: Ari Rabkin <asrabkin at twcny dot rr dot com>
- Subject: Re: funny thing in read.c
- From: Stan Shebs <shebs at shebs dot cnchost dot com>
- Date: Sun, 24 Dec 2000 14:49:35 -0800
- CC: xconq7 at sources dot redhat dot com
- References: <B66B8508.406C%asrabkin@twcny.rr.com>
- Reply-To: shebs at shebs dot cnchost dot com
Ari Rabkin wrote:
>
> Hi all. I was just building Xconq ver 7.4, and CodeWarrior brought to my
> attention that on line 3116 of read.c the variable m is not being
> initialized before use.
> I checked, and sure enough, it's not.
> for reference, the line is:
>
> 3116: (" default_tooling[m] = -1;")
Ooh, this is a real mistake, thanks for catching! That should be
"u" not "m". No games in the library notice right now, since they
don't use unit-defaults to set construction tooling, but the touching
of random memory is an accident waiting to happen...
Stan