Tag ununsed variable and make function real explicit prototype.
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 10 Jul 2012 12:42:03 +0000 (12:42 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 10 Jul 2012 12:42:03 +0000 (12:42 +0000)
source/blender/compositor/COM_compositor.h
source/blender/editors/space_node/node_draw.c

index 60bceba57656f576a6390af5f65c416cca2bb914..c65ea77147706b47b674917fefb02ff35c6b25e0 100644 (file)
@@ -303,7 +303,7 @@ void COM_execute(RenderData* rd, bNodeTree *editingtree, int rendering);
  * @brief Return a list of highlighted bnodes pointers.
  * @return 
  */
-void COM_startReadHighlights();
+void COM_startReadHighlights(void);
 
 /**
  * @brief check if a bnode is highlighted
index 7be76bd788418cf84b27500f879ce875b1e2c081..17545ddc4de3c99147c719635235794923e47e0b 100644 (file)
@@ -1132,7 +1132,7 @@ void drawnodespace(const bContext *C, ARegion *ar, View2D *v2d)
        
        if (snode->nodetree) {
                bNode *node;
-               void** highlights = 0;
+               /* void** highlights = 0; */ /* UNUSED */
                
                node_uiblocks_init(C, snode->nodetree);