Don't need 2 of the same variables.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Jul 2010 02:28:24 +0000 (02:28 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Jul 2010 02:28:24 +0000 (02:28 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@50473 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_module.c

index 8cea663..c6f20da 100644 (file)
@@ -108,8 +108,6 @@ _edje_module_init(void)
 void
 _edje_module_shutdown(void)
 {
-   const char *data;
-
    eina_module_list_free(_available_modules);
    if (_available_modules)
      {
@@ -126,6 +124,7 @@ _edje_module_shutdown(void)
    if (_modules_name)
      {
        const char *data;
+
        EINA_LIST_FREE(_modules_name, data)
          {
            eina_stringshare_del(data);