Initialize spline.linearity before use.

2007-05-30  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/sel2path/fit.c: Initialize spline.linearity before use.


svn path=/trunk/; revision=22663
This commit is contained in:
Mukund Sivaraman 2007-05-30 13:13:21 +00:00 committed by Mukund Sivaraman
parent f136f00756
commit 23ff5cc24f
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/sel2path/fit.c: Initialize spline.linearity before use.
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/sel2path/spline.c: Initialize spline.linearity before use.

View File

@ -1321,6 +1321,7 @@ fit_one_spline (curve_type curve)
START_POINT (spline) = CURVE_POINT (curve, 0);
END_POINT (spline) = LAST_CURVE_POINT (curve);
SPLINE_LINEARITY (spline) = 0;
start_vector = make_vector (START_POINT (spline));
end_vector = make_vector (END_POINT (spline));