On Fri, 23 Jul 2010, Enlightenment SVN wrote:
> Log: > Don't need 2 of the same variables. imho, -Wshadow should be used to remove all those cases. See eina's configure on how i did that Vincent > > > Author: devilhorns > Date: 2010-07-23 19:28:24 -0700 (Fri, 23 Jul 2010) > New Revision: 50473 > > Modified: > trunk/edje/src/lib/edje_module.c > > Modified: trunk/edje/src/lib/edje_module.c > =================================================================== > --- trunk/edje/src/lib/edje_module.c 2010-07-24 02:17:08 UTC (rev 50472) > +++ trunk/edje/src/lib/edje_module.c 2010-07-24 02:28:24 UTC (rev 50473) > @@ -108,8 +108,6 @@ > void > _edje_module_shutdown(void) > { > - const char *data; > - > eina_module_list_free(_available_modules); > if (_available_modules) > { > @@ -126,6 +124,7 @@ > if (_modules_name) > { > const char *data; > + > EINA_LIST_FREE(_modules_name, data) > { > eina_stringshare_del(data); > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel