Fix strict compiler warning in release mode

This commit is contained in:
Sergey Sharybin 2019-08-28 16:00:40 +02:00
parent 6f97855d06
commit d5192d6fd6
Notes: blender-bot 2023-02-14 01:07:44 +01:00
Referenced by issue #69253, Building Blender - Linking fails with OIDN enabled on Linux Mint 18.3
1 changed files with 1 additions and 0 deletions

View File

@ -4630,6 +4630,7 @@ void BKE_curve_nurbs_vert_coords_get(ListBase *lb, float (*vert_coords)[3], int
}
}
BLI_assert(co == vert_coords[vert_len]);
UNUSED_VARS_NDEBUG(vert_len);
}
float (*BKE_curve_nurbs_vert_coords_alloc(ListBase *lb, int *r_vert_len))[3]