[Bf-blender-cvs] [a2248e2ec4b] master: Cleanup: Fix warning (unused variable)
Dalai Felinto
noreply at git.blender.org
Mon Feb 10 19:13:10 CET 2020
Commit: a2248e2ec4b4f0fcae58c821253a311c583f6649
Author: Dalai Felinto
Date: Mon Feb 10 19:09:53 2020 +0100
Branches: master
https://developer.blender.org/rBa2248e2ec4b4f0fcae58c821253a311c583f6649
Cleanup: Fix warning (unused variable)
===================================================================
M source/blender/editors/space_graph/graph_buttons.c
===================================================================
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c
index 02bf97495c1..f61eb15b3c2 100644
--- a/source/blender/editors/space_graph/graph_buttons.c
+++ b/source/blender/editors/space_graph/graph_buttons.c
@@ -136,13 +136,11 @@ static void graph_panel_cursor(const bContext *C, Panel *pa)
PointerRNA spaceptr, sceneptr;
uiLayout *layout = pa->layout;
uiLayout *col, *sub;
- uiBlock *block;
/* get RNA pointers for use when creating the UI elements */
RNA_id_pointer_create(&scene->id, &sceneptr);
RNA_pointer_create(&sc->id, &RNA_SpaceGraphEditor, sipo, &spaceptr);
- block = uiLayoutGetBlock(layout);
uiLayoutSetPropSep(layout, true);
uiLayoutSetPropDecorate(layout, false);
More information about the Bf-blender-cvs
mailing list