Commit: e84ffae7ba9610f0203396a6dfceaee5e2c1842e
Author: Campbell Barton
Date: Thu Aug 13 16:23:43 2020 +1000
Branches: master
https://developer.blender.org/rBe84ffae7ba9610f0203396a6dfceaee5e2c1842e
Cleanup: warnings
===================================================================
M source/blender/blenkernel/intern/gpencil_curve.c
M source/blender/editors/gpencil/gpencil_primitive.c
===================================================================
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", ""},
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs