remove / comment unused code, patch by nico_ga on IRC with some edits.
[blender-staging.git] / source / blender / blenkernel / intern / depsgraph.c
index 6813d5d18a61c3df57973104cc39fe1c58cc5b62..472d7d77b80fd654bf882e56387822d3d643d135 100644 (file)
@@ -1189,7 +1189,7 @@ DagNodeQueue * graph_dfs(void)
        int skip = 0;
        int minheight;
        int maxpos=0;
-       int     is_cycle = 0;
+       /* int  is_cycle = 0; */ /* UNUSED */
        /*
         *fprintf(stderr,"starting DFS \n ------------\n");
         */     
@@ -1245,7 +1245,7 @@ DagNodeQueue * graph_dfs(void)
                                } else { 
                                        if (itA->node->color == DAG_GRAY) { // back edge
                                                fprintf(stderr,"dfs back edge :%15s %15s \n",((ID *) node->ob)->name, ((ID *) itA->node->ob)->name);
-                                               is_cycle = 1;
+                                               /* is_cycle = 1; */ /* UNUSED */
                                        } else if (itA->node->color == DAG_BLACK) {
                                                ;
                                                /* already processed node but we may want later to change distance either to shorter to longer.