diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-14 03:42:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-14 03:42:28 +0300 |
commit | 9390b2e645a69ce0b4d50177d4fa8775b770afe4 (patch) | |
tree | c36132962942b16a17c074da6b283883a977dc93 /source/blender/editors/gpencil/gpencil_utils.c | |
parent | 2826c2be545ee0382ef37da0b0b919757b75f10a (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 232f3b8f606..36ae1a211d3 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -2052,7 +2052,7 @@ static bool gpencil_check_collision( return hit; } -void static gp_copy_points( +static void gp_copy_points( bGPDstroke *gps, bGPDspoint *pt, bGPDspoint *pt_final, int i, int i2) { copy_v3_v3(&pt_final->x, &pt->x); @@ -2073,7 +2073,7 @@ void static gp_copy_points( } -void static gp_insert_point( +static void gp_insert_point( bGPDstroke *gps, bGPDspoint *a_pt, bGPDspoint *b_pt, float co_a[3], float co_b[3]) @@ -2182,7 +2182,6 @@ int ED_gpencil_select_stroke_segment( /* Save list of strokes to check */ int totstrokes = 0; for (bGPDstroke *gps_iter = gpf->strokes.first; gps_iter; gps_iter = gps_iter->next) { - if (gps_iter->totpoints < 2) { continue; } |