quiet warning
authorCampbell Barton <ideasman42@gmail.com>
Thu, 10 Nov 2011 04:03:08 +0000 (04:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 10 Nov 2011 04:03:08 +0000 (04:03 +0000)
source/blender/editors/space_buttons/buttons_texture.c

index dd9f3c5789690602f09c50fbcd4d9e9083ec6205..4446a2e848a649c0b249b46e7c5819a0d92d806a 100644 (file)
@@ -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);