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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-08-13 09:23:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-13 09:23:43 +0300
commite84ffae7ba9610f0203396a6dfceaee5e2c1842e (patch)
treeb85503170d9b129b3b786c9d074811c9f2affb1f /source
parent357547b010a5a0ec5434f35571ea93cddf5be4a5 (diff)
Cleanup: warnings
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/gpencil_curve.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_primitive.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_curve.c b/source/blender/blenkernel/intern/gpencil_curve.c
index c2cf54adca7..4974e98b076 100644
--- a/source/blender/blenkernel/intern/gpencil_curve.c
+++ b/source/blender/blenkernel/intern/gpencil_curve.c
@@ -290,7 +290,7 @@ static int gpencil_get_stroke_material_fromcurve(
static void gpencil_convert_spline(Main *bmain,
Object *ob_gp,
Object *ob_cu,
- const bool gpencil_lines,
+ const bool UNUSED(gpencil_lines),
const float scale_thickness,
const float sample,
bGPDframe *gpf,
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c
index 75f08c37cba..a4c8fc770e2 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -109,7 +109,7 @@
/* ************************************************ */
/* Core/Shared Utilities */
-const static EnumPropertyItem gpencil_primitive_type[] = {
+static const EnumPropertyItem gpencil_primitive_type[] = {
{GP_STROKE_BOX, "BOX", 0, "Box", ""},
{GP_STROKE_LINE, "LINE", 0, "Line", ""},
{GP_STROKE_POLYLINE, "POLYLINE", 0, "Polyline", ""},