From db5ca11d802ef987c34fd24f14db1b1427f5898e Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 12 Mar 2019 16:49:12 -0300 Subject: Silence warning in greasepencil code --- source/blender/editors/gpencil/gpencil_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/gpencil/gpencil_data.c') diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index 02473329f03..2cdd772f726 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -89,7 +89,7 @@ /* Datablock Operators */ /* ******************* Add New Data ************************ */ -bool gp_data_add_poll(bContext *C) +static bool gp_data_add_poll(bContext *C) { Object *obact = CTX_data_active_object(C); if (obact && obact->type == OB_GPENCIL) { -- cgit v1.2.3