[Bf-blender-cvs] [a5d65200c2a] master: Cleanup: unused argument warning

Campbell Barton noreply at git.blender.org
Wed Sep 7 05:05:18 CEST 2022


Commit: a5d65200c2aad5070824c3cbdc43b4d5cebe2cc3
Author: Campbell Barton
Date:   Wed Sep 7 12:37:24 2022 +1000
Branches: master
https://developer.blender.org/rBa5d65200c2aad5070824c3cbdc43b4d5cebe2cc3

Cleanup: unused argument warning

===================================================================

M	source/blender/blenkernel/BKE_gpencil_geom.h
M	source/blender/blenkernel/intern/gpencil_geom.cc

===================================================================

diff --git a/source/blender/blenkernel/BKE_gpencil_geom.h b/source/blender/blenkernel/BKE_gpencil_geom.h
index cbaf118e803..67560470516 100644
--- a/source/blender/blenkernel/BKE_gpencil_geom.h
+++ b/source/blender/blenkernel/BKE_gpencil_geom.h
@@ -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).
  */
diff --git a/source/blender/blenkernel/intern/gpencil_geom.cc b/source/blender/blenkernel/intern/gpencil_geom.cc
index 7a77bc21c66..4867da186f7 100644
--- a/source/blender/blenkernel/intern/gpencil_geom.cc
+++ b/source/blender/blenkernel/intern/gpencil_geom.cc
@@ -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;



More information about the Bf-blender-cvs mailing list