diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-08-11 12:13:38 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-08-12 05:10:52 +0400 |
commit | 71b85a83902292fb60957324b77d60a7010662d8 (patch) | |
tree | 9b09544a350ed176e2ec6de241fde628f653934c /source/blender/editors | |
parent | 75e03e93be6e44579544f8637e992b236d2bc2e3 (diff) |
Freestyle: code cleanup.
Marked a function argument with UNUSED() and removed an unused local variable.
Patch provided by Sergey Sharybin.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index af24bfccb7b..7c2b8f811cd 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -885,7 +885,7 @@ static void node_shader_buts_uvmap(uiLayout *layout, bContext *C, PointerRNA *pt } } -static void node_shader_buts_uvalongstroke(uiLayout *layout, bContext *C, PointerRNA *ptr) +static void node_shader_buts_uvalongstroke(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { uiItemR(layout, ptr, "use_tips", 0, NULL, 0); } @@ -1009,8 +1009,6 @@ static void node_buts_output_linestyle(uiLayout *layout, bContext *UNUSED(C), Po { uiLayout *row, *col; - bNodeTree *ntree = (bNodeTree *)ptr->id.data; - col = uiLayoutColumn(layout, false); row = uiLayoutRow(col, true); uiItemR(row, ptr, "blend_type", 0, "", ICON_NONE); |