1
0
Fork 0

Uninitialized data problem. As it turns out, this never bit us because

the _chord member is only used uninitialized in circumstances where the
result is thrown away.  Still, bad practice.  Found with valgrind.
This commit is contained in:
andy 2002-06-04 07:23:34 +00:00
parent 11766afb6c
commit 2852f27bdc

View file

@ -16,6 +16,7 @@ Surface::Surface()
_orient[3] = 0; _orient[4] = 1; _orient[5] = 0;
_orient[6] = 0; _orient[7] = 0; _orient[8] = 1;
_chord = 0;
_incidence = 0;
_slatPos = _spoilerPos = _flapPos = 0;
_slatDrag = _spoilerDrag = _flapDrag = 1;