[Bf-blender-cvs] [b425e94381a] master: Correct accidental variable declaration
Campbell Barton
noreply at git.blender.org
Tue Aug 1 01:08:06 CEST 2017
Commit: b425e94381a43353d1868aafd0478636235a1431
Author: Campbell Barton
Date: Tue Aug 1 07:55:01 2017 +1000
Branches: master
https://developer.blender.org/rBb425e94381a43353d1868aafd0478636235a1431
Correct accidental variable declaration
===================================================================
M extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
===================================================================
diff --git a/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c b/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
index 96ec9a33270..b5340efdcb2 100644
--- a/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
+++ b/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c
@@ -137,7 +137,7 @@ struct Knot {
/* Initially point to contiguous memory, however we may re-assign */
double *tan[2];
-} Knot;
+};
struct KnotRemoveState {
@@ -1102,7 +1102,7 @@ int curve_fit_cubic_to_points_refit_db(
uint **r_corner_index_array, uint *r_corner_index_len)
{
const uint knots_len = points_len;
- struct Knot *knots = malloc(sizeof(Knot) * knots_len);
+ struct Knot *knots = malloc(sizeof(struct Knot) * knots_len);
#ifndef USE_CORNER_DETECT
(void)r_corner_index_array;
More information about the Bf-blender-cvs
mailing list