[gegl] gegl_node_blit: remove useless loop



commit 135aa92de284e1922a2e967c3d5fabe3f85783bc
Author: Michael Murà <batolettre gmail com>
Date:   Thu Jun 7 16:43:51 2012 +0900

    gegl_node_blit: remove useless loop

 gegl/graph/gegl-node.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 2fb7464..7563abd 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1036,8 +1036,7 @@ gegl_node_blit (GeglNode            *self,
 
       if (threads==1)
         {
-          for (i=0; i<threads; i++)
-              spawnrender (&data[i], NULL);
+          spawnrender (&data[0], NULL);
         }
       else
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]