From: Tom Hacohen Date: Tue, 30 Aug 2016 12:36:41 +0000 (+0100) Subject: Edje cc: Rename and move around shadowing variable. X-Git-Tag: upstream/1.20.0~4559 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1198dd4efb4307599fd31a4479e6a18c61c13d6b;p=platform%2Fupstream%2Fefl.git Edje cc: Rename and move around shadowing variable. --- diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 9bcfa4f..18697ee 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -4646,7 +4646,7 @@ st_collections_group_inherit(void) if (pc2->alias) { - char *key, *alias; + char *key; memset(&fdata, 0, sizeof(Edje_List_Foreach_Data)); eina_hash_foreach(pc2->alias, @@ -4654,8 +4654,9 @@ st_collections_group_inherit(void) if (!pc->alias) pc->alias = eina_hash_string_small_new(free); EINA_LIST_FREE(fdata.list, key) { - alias = eina_hash_find(pc2->alias, key); - eina_hash_direct_add(pc->alias, key, alias); + char *tmp; + tmp = eina_hash_find(pc2->alias, key); + eina_hash_direct_add(pc->alias, key, tmp); } } if (pc2->aliased)