diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-13 09:23:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-13 09:23:43 +0300 |
commit | e84ffae7ba9610f0203396a6dfceaee5e2c1842e (patch) | |
tree | b85503170d9b129b3b786c9d074811c9f2affb1f | |
parent | 357547b010a5a0ec5434f35571ea93cddf5be4a5 (diff) |
Cleanup: warnings
-rw-r--r-- | source/blender/blenkernel/intern/gpencil_curve.c | 2 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_primitive.c | 2 |
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", ""}, |