Cleanup: warnings

This commit is contained in:
Campbell Barton
2020-08-13 16:23:43 +10:00
parent 357547b010
commit e84ffae7ba
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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", ""},