Compilation error fix for strict flags
[blender.git] / source / blender / editors / gpencil / gpencil_edit.c
index a0a9419ef9a5a75f70a1dc5f930a7c89ecb67871..be4cac666bd2573f0dfa2a0ffe5a46e8beccd5ce 100644 (file)
@@ -486,7 +486,7 @@ void GPENCIL_OT_layer_move(wmOperatorType *ot)
 
 /* ********************* Duplicate Layer ************************** */
 
-static int gp_layer_copy_exec(bContext *C, wmOperator *op)
+static int gp_layer_copy_exec(bContext *C, wmOperator *UNUSED(op))
 {
        bGPdata *gpd = ED_gpencil_data_get_active(C);
        bGPDlayer *gpl = gpencil_layer_getactive(gpd);