Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-25 08:26:15 +0300
committerCampbell Barton <campbell@blender.org>2022-09-25 08:26:30 +0300
commit865894481ce76325d817533c654bda2ce2e65c66 (patch)
tree4f45047d37977840e86b5782aac8342f45b60a19
parent26f330ea4ca02f2bc3e78381d90a17d9d0c66337 (diff)
Cleanup: quiet compiler warning
-rw-r--r--source/blender/editors/gpencil/gpencil_fill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index a07dc63b418..d21ea379b46 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -415,7 +415,7 @@ static void gpencil_load_array_strokes(tGPDfill *tgpf)
/* Create the extension strokes only for Lines. */
if (tgpf->fill_extend_mode == GP_FILL_EMODE_EXTEND) {
/* Extend start. */
- bGPDspoint *pt0 = &gps->points[1];
+ // bGPDspoint *pt0 = &gps->points[1]; /* UNUSED. */
bGPDspoint *pt1 = &gps->points[0];
stroke->gps_ext_a = BKE_gpencil_stroke_new(gps->mat_nr, 2, gps->thickness);
stroke->gps_ext_a->flag |= GP_STROKE_NOFILL | GP_STROKE_TAG;
@@ -432,7 +432,7 @@ static void gpencil_load_array_strokes(tGPDfill *tgpf)
pt->pressure = 1.0f;
/* Extend end. */
- pt0 = &gps->points[gps->totpoints - 2];
+ // pt0 = &gps->points[gps->totpoints - 2]; /* UNUSED. */
pt1 = &gps->points[gps->totpoints - 1];
stroke->gps_ext_b = BKE_gpencil_stroke_new(gps->mat_nr, 2, gps->thickness);
stroke->gps_ext_b->flag |= GP_STROKE_NOFILL | GP_STROKE_TAG;