Cleanup: unused argument warning

This commit is contained in:
Campbell Barton 2022-09-07 12:37:24 +10:00
parent ffc0e4d410
commit a5d65200c2
2 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ void BKE_gpencil_stroke_join(struct bGPDstroke *gps_a,
* Set stroke start point in the selected index. Only works for Cyclic strokes.
* \param start_idx: Index of the point to be the start point.
*/
void BKE_gpencil_stroke_start_set(struct bGPdata *gpd, struct bGPDstroke *gps, int start_idx);
void BKE_gpencil_stroke_start_set(struct bGPDstroke *gps, int start_idx);
/**
* Copy the stroke of the frame to all frames selected (except current).
*/

View File

@ -3546,7 +3546,7 @@ void BKE_gpencil_stroke_join(bGPDstroke *gps_a,
}
}
void BKE_gpencil_stroke_start_set(bGPdata *gpd, bGPDstroke *gps, int start_idx)
void BKE_gpencil_stroke_start_set(bGPDstroke *gps, int start_idx)
{
if ((start_idx < 1) || (start_idx >= gps->totpoints) || (gps->totpoints < 2)) {
return;