remoove unused variables

SVN revision: 42877
This commit is contained in:
Vincent Torri 2009-10-04 22:28:12 +00:00
parent 4c05580f59
commit 1403d26dce
5 changed files with 2 additions and 10 deletions

View File

@ -3,6 +3,8 @@
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>
#endif #endif
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -1236,7 +1236,6 @@ efreet_desktop_command_progress_get(Efreet_Desktop *desktop, Eina_List *files,
if (command->num_pending == 0) if (command->num_pending == 0)
{ {
Eina_List *execs; Eina_List *execs;
char *exec;
execs = efreet_desktop_command_build(command); execs = efreet_desktop_command_build(command);
ret = efreet_desktop_command_execs_process(command, execs); 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) if (f->command->num_pending <= 0)
{ {
Eina_List *execs; Eina_List *execs;
char *exec;
execs = efreet_desktop_command_build(f->command); execs = efreet_desktop_command_build(f->command);
/* TODO: Need to handle the return value from efreet_desktop_command_execs_process */ /* TODO: Need to handle the return value from efreet_desktop_command_execs_process */

View File

@ -156,8 +156,6 @@ efreet_icon_init(void)
void void
efreet_icon_shutdown(void) efreet_icon_shutdown(void)
{ {
void *d;
if (--efreet_icon_init_count) if (--efreet_icon_init_count)
return; return;
@ -1153,7 +1151,6 @@ efreet_icon_theme_new(void)
static void static void
efreet_icon_theme_free(Efreet_Icon_Theme *theme) efreet_icon_theme_free(Efreet_Icon_Theme *theme)
{ {
void *d;
if (!theme) return; if (!theme) return;
IF_RELEASE(theme->name.internal); IF_RELEASE(theme->name.internal);

View File

@ -673,7 +673,6 @@ efreet_menu_parse(const char *path)
Efreet_Xml *xml; Efreet_Xml *xml;
Efreet_Menu_Internal *internal = NULL; Efreet_Menu_Internal *internal = NULL;
Efreet_Menu *entry = NULL; Efreet_Menu *entry = NULL;
Eina_List *search_dirs;
xml = efreet_xml_new(path); xml = efreet_xml_new(path);
if (!xml) return NULL; if (!xml) return NULL;
@ -1021,8 +1020,6 @@ efreet_menu_internal_new(void)
void void
efreet_menu_internal_free(Efreet_Menu_Internal *internal) efreet_menu_internal_free(Efreet_Menu_Internal *internal)
{ {
void *d;
if (!internal) return; if (!internal) return;
IF_FREE(internal->file.path); IF_FREE(internal->file.path);

View File

@ -242,8 +242,6 @@ efreet_mime_init(void)
EAPI void EAPI void
efreet_mime_shutdown(void) efreet_mime_shutdown(void)
{ {
void *d;
if (_init_count == 0) if (_init_count == 0)
return; return;
_init_count--; _init_count--;