[Bf-blender-cvs] [71b85a8] master: Freestyle: code cleanup.
Tamito Kajiyama
noreply at git.blender.org
Tue Aug 12 03:18:34 CEST 2014
Commit: 71b85a83902292fb60957324b77d60a7010662d8
Author: Tamito Kajiyama
Date: Mon Aug 11 17:13:38 2014 +0900
Branches: master
https://developer.blender.org/rB71b85a83902292fb60957324b77d60a7010662d8
Freestyle: code cleanup.
Marked a function argument with UNUSED() and removed an unused local variable.
Patch provided by Sergey Sharybin.
===================================================================
M source/blender/editors/space_node/drawnode.c
===================================================================
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index af24bfc..7c2b8f8 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);
More information about the Bf-blender-cvs
mailing list