[gegl] Rename variable to avoid shadowing outer block variable
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Rename variable to avoid shadowing outer block variable
- Date: Thu, 29 Jul 2010 10:13:25 +0000 (UTC)
commit 2e1260eac083cf6f52da89d6e3936c163277c85b
Author: Mukund Sivaraman <muks banu com>
Date: Thu Jul 29 15:37:56 2010 +0530
Rename variable to avoid shadowing outer block variable
gegl/buffer/gegl-tile-storage.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-storage.c b/gegl/buffer/gegl-tile-storage.c
index 928af25..43beda3 100644
--- a/gegl/buffer/gegl-tile-storage.c
+++ b/gegl/buffer/gegl-tile-storage.c
@@ -127,10 +127,11 @@ gegl_tile_storage_new (gint tile_width,
tile_storage->tile_size = backend->tile_size;
tile_storage->px_size = backend->px_size;
gegl_tile_handler_set_source (handler, (void*)backend);
+
{ /* should perhaps be a.. method on gegl_tile_handler_chain_set_source
wrapping handler_set_source() and this*/
- GeglTileHandlerChain *tile_handler_chain = GEGL_TILE_HANDLER_CHAIN (handler);
- GSList *iter = (void *) tile_handler_chain->chain;
+ GeglTileHandlerChain *tile_handler_chain2 = GEGL_TILE_HANDLER_CHAIN (handler);
+ GSList *iter = (void *) tile_handler_chain2->chain;
while (iter && iter->next)
iter = iter->next;
if (iter)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]