[Bf-blender-cvs] [27370aef8ff] master: Cleanup: unused warning

Campbell Barton noreply at git.blender.org
Thu Apr 29 08:24:02 CEST 2021


Commit: 27370aef8ff63ad4a0ebafd315fcc9cd29a961bd
Author: Campbell Barton
Date:   Thu Apr 29 16:22:44 2021 +1000
Branches: master
https://developer.blender.org/rB27370aef8ff63ad4a0ebafd315fcc9cd29a961bd

Cleanup: unused warning

===================================================================

M	source/blender/editors/gpencil/gpencil_add_blank.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_add_blank.c b/source/blender/editors/gpencil/gpencil_add_blank.c
index 7789962f4f7..3bd61d5c88a 100644
--- a/source/blender/editors/gpencil/gpencil_add_blank.c
+++ b/source/blender/editors/gpencil/gpencil_add_blank.c
@@ -77,7 +77,7 @@ static const ColorTemplate gp_stroke_material_black = {
 /* Blank API */
 
 /* Add a Simple empty object with one layer and one color. */
-void ED_gpencil_create_blank(bContext *C, Object *ob, float mat[4][4])
+void ED_gpencil_create_blank(bContext *C, Object *ob, float UNUSED(mat[4][4]))
 {
   Main *bmain = CTX_data_main(C);
   Scene *scene = CTX_data_scene(C);



More information about the Bf-blender-cvs mailing list