remoove unused variables

SVN revision: 42877
devs/devilhorns/wayland_egl
Vincent Torri 14 years ago
parent 4c05580f59
commit 1403d26dce
  1. 2
      legacy/efreet/src/lib/efreet.c
  2. 2
      legacy/efreet/src/lib/efreet_desktop.c
  3. 3
      legacy/efreet/src/lib/efreet_icon.c
  4. 3
      legacy/efreet/src/lib/efreet_menu.c
  5. 2
      legacy/efreet/src/lib/efreet_mime.c

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

@ -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 */

@ -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);

@ -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);

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

Loading…
Cancel
Save