Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2020-02-10 21:09:53 +0300
committerDalai Felinto <dfelinto@gmail.com>2020-02-10 21:11:23 +0300
commita2248e2ec4b4f0fcae58c821253a311c583f6649 (patch)
tree71927bafd967cd6aea73ff1fdf774c29cba10d42 /source/blender/editors/space_graph
parente75e29ee478592742defb80d6d992173f4a635df (diff)
Cleanup: Fix warning (unused variable)
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/graph_buttons.c2
1 files changed, 0 insertions, 2 deletions
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);