Commit: a69ddea29d50baef08380faed087483725c2bc1a
Author: Hans Goudey
Date:   Fri Sep 11 14:26:05 2020 -0500
Branches: master
https://developer.blender.org/rBa69ddea29d50baef08380faed087483725c2bc1a

Cleanup: Remove unused variables and function

Somehow these changes were lost while pulling the previous commit from
the property-search-ui-v2 branch.

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

M       source/blender/editors/space_buttons/buttons_context.c

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

diff --git a/source/blender/editors/space_buttons/buttons_context.c 
b/source/blender/editors/space_buttons/buttons_context.c
index 9228853ed19..84a020a9ed7 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -1115,27 +1115,11 @@ int buttons_context(const bContext *C, const char 
*member, bContextDataResult *r
 
 /************************* Drawing the Path ************************/
 
-static void pin_cb(bContext *C, void *UNUSED(arg1), void *UNUSED(arg2))
-{
-  SpaceProperties *sbuts = CTX_wm_space_properties(C);
-
-  if (sbuts->flag & SB_PIN_CONTEXT) {
-    sbuts->pinid = buttons_context_id_path(C);
-  }
-  else {
-    sbuts->pinid = NULL;
-  }
-
-  ED_area_tag_redraw(CTX_wm_area(C));
-}
-
 void buttons_context_draw(const bContext *C, uiLayout *layout)
 {
   SpaceProperties *sbuts = CTX_wm_space_properties(C);
   ButsContextPath *path = sbuts->path;
   uiLayout *row, *sub;
-  uiBlock *block;
-  uiBut *but;
   PointerRNA *ptr;
   char namebuf[128], *name;
   int a, icon;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to