quiet warning

This commit is contained in:
Campbell Barton 2011-11-10 04:03:08 +00:00
parent 5caf6e9070
commit 77c5160791

@ -117,10 +117,10 @@ static void buttons_texture_users_find_nodetree(ListBase *users, ID *id,
for(node=ntree->nodes.first; node; node=node->next) {
if(node->typeinfo->nclass == NODE_CLASS_TEXTURE) {
PointerRNA ptr;
PropertyRNA *prop;
/* PropertyRNA *prop; */ /* UNUSED */
RNA_pointer_create(&ntree->id, &RNA_Node, node, &ptr);
prop = RNA_struct_find_property(&ptr, "texture");
/* prop = RNA_struct_find_property(&ptr, "texture"); */ /* UNUSED */
buttons_texture_user_node_add(users, id, ntree, node,
category, RNA_struct_ui_icon(ptr.type), node->name);