remoove unused variables
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 4 Oct 2009 22:28:12 +0000 (22:28 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 4 Oct 2009 22:28:12 +0000 (22:28 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@42877 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/efreet.c
src/lib/efreet_desktop.c
src/lib/efreet_icon.c
src/lib/efreet_menu.c
src/lib/efreet_mime.c

index cbbbed5..6feb0c5 100644 (file)
@@ -3,6 +3,8 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 
index 0e4403b..be6b83b 100644 (file)
@@ -1236,7 +1236,6 @@ efreet_desktop_command_progress_get(Efreet_Desktop *desktop, Eina_List *files,
     if (command->num_pending == 0)
     {
         Eina_List *execs;
-        char *exec;
 
         execs = efreet_desktop_command_build(command);
         ret = efreet_desktop_command_execs_process(command, execs);
@@ -1796,7 +1795,6 @@ efreet_desktop_cb_download_complete(void *data, const char *file __UNUSED__,
     if (f->command->num_pending <= 0)
     {
         Eina_List *execs;
-        char *exec;
 
         execs = efreet_desktop_command_build(f->command);
         /* TODO: Need to handle the return value from efreet_desktop_command_execs_process */
index d506044..ced8dfe 100644 (file)
@@ -156,8 +156,6 @@ efreet_icon_init(void)
 void
 efreet_icon_shutdown(void)
 {
-    void *d;
-
     if (--efreet_icon_init_count)
         return;
 
@@ -1153,7 +1151,6 @@ efreet_icon_theme_new(void)
 static void
 efreet_icon_theme_free(Efreet_Icon_Theme *theme)
 {
-    void *d;
     if (!theme) return;
 
     IF_RELEASE(theme->name.internal);
index a2f38bb..b614ee7 100644 (file)
@@ -673,7 +673,6 @@ efreet_menu_parse(const char *path)
     Efreet_Xml *xml;
     Efreet_Menu_Internal *internal = NULL;
     Efreet_Menu *entry = NULL;
-    Eina_List *search_dirs;
 
     xml = efreet_xml_new(path);
     if (!xml) return NULL;
@@ -1021,8 +1020,6 @@ efreet_menu_internal_new(void)
 void
 efreet_menu_internal_free(Efreet_Menu_Internal *internal)
 {
-    void *d;
-
     if (!internal) return;
 
     IF_FREE(internal->file.path);
index 5fc6d5d..8353e0a 100644 (file)
@@ -242,8 +242,6 @@ efreet_mime_init(void)
 EAPI void
 efreet_mime_shutdown(void)
 {
-    void *d;
-
     if (_init_count == 0)
         return;
     _init_count--;