Remove unused variables.

SVN revision: 27440
This commit is contained in:
Sebastian Dransfeld 2006-12-14 15:40:19 +00:00
parent 1943218ffb
commit 2a7dc3ccf7
8 changed files with 5 additions and 20 deletions

View File

@ -67,8 +67,6 @@ EAPI void
e_int_border_prop(E_Border *bd) e_int_border_prop(E_Border *bd)
{ {
E_Dialog *dia; E_Dialog *dia;
Evas_Object *o, *ob;
Evas_Coord w, h;
if (bd->border_prop_dialog) return; if (bd->border_prop_dialog) return;

View File

@ -407,8 +407,7 @@ _adv_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfda
{ {
Evas_Object *o, *of, *ob, *ot; Evas_Object *o, *of, *ob, *ot;
E_Radio_Group *rg; E_Radio_Group *rg;
Evas_List *l;
o = e_widget_list_add(evas, 0, 0); o = e_widget_list_add(evas, 0, 0);
ot = e_widget_table_add(evas, 0); ot = e_widget_table_add(evas, 0);

View File

@ -316,7 +316,6 @@ static int
_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
{ {
const char *sel_res, *sel_rate; const char *sel_res, *sel_rate;
int i, n, k, rr;
Ecore_X_Screen_Size size; Ecore_X_Screen_Size size;
Ecore_X_Screen_Refresh_Rate rate; Ecore_X_Screen_Refresh_Rate rate;
E_Manager *man; E_Manager *man;
@ -419,8 +418,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
else else
{ {
Evas_List *l; Evas_List *l;
Ecore_X_Screen_Refresh_Rate c_rate;
Ecore_X_Screen_Size c_size;
cfdata->orig_size = ecore_x_randr_current_screen_size_get(man->root); cfdata->orig_size = ecore_x_randr_current_screen_size_get(man->root);
cfdata->orig_rate = ecore_x_randr_current_screen_refresh_rate_get(man->root); cfdata->orig_rate = ecore_x_randr_current_screen_refresh_rate_get(man->root);
@ -550,8 +547,6 @@ static void
_load_rates(E_Config_Dialog_Data *cfdata) _load_rates(E_Config_Dialog_Data *cfdata)
{ {
int r, k = 0, sel = 0; int r, k = 0, sel = 0;
Ecore_X_Screen_Refresh_Rate rt;
Ecore_X_Screen_Refresh_Rate *rts;
char buf[16]; char buf[16];
Evas_List *l; Evas_List *l;

View File

@ -282,8 +282,7 @@ static Evas_Object *
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
{ {
Evas_Object *o, *of, *ob, *ot, *ott; Evas_Object *o, *of, *ob, *ot, *ott;
Evas_List *next, *fonts, *l = NULL; Evas_List *fonts, *l = NULL;
int option_enable;
cfdata->cur_index = -1; cfdata->cur_index = -1;
cfdata->evas = evas; cfdata->evas = evas;

View File

@ -182,7 +182,7 @@ static Evas_Object *
_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
{ {
Evas_Object *o, *of, *ol; Evas_Object *o, *of, *ol;
Evas_Object *ot, *ob; Evas_Object *ob;
o = e_widget_list_add(evas, 0, 1); o = e_widget_list_add(evas, 0, 1);
of = e_widget_framelist_add(evas, _("Categories"), 0); of = e_widget_framelist_add(evas, _("Categories"), 0);
@ -542,7 +542,6 @@ _cb_config(void *data, void *data2)
Evas_List *l; Evas_List *l;
E_Config_Dialog_Data *cfdata; E_Config_Dialog_Data *cfdata;
E_Config_Mime_Icon *mi = NULL; E_Config_Mime_Icon *mi = NULL;
E_Config_Dialog *edit_dlg;
char *m; char *m;
int found = 0; int found = 0;

View File

@ -290,7 +290,6 @@ _get_icon(void *data)
Evas *evas; Evas *evas;
E_Config_Dialog_Data *cfdata; E_Config_Dialog_Data *cfdata;
Evas_Object *icon = NULL; Evas_Object *icon = NULL;
const char *tmp;
char buf[4096]; char buf[4096];
cfdata = data; cfdata = data;

View File

@ -272,8 +272,7 @@ static void
_cb_dialog_yes(void *data) _cb_dialog_yes(void *data)
{ {
Shelf_Del_Confirm_Data *d; Shelf_Del_Confirm_Data *d;
E_Shelf *es;
d = data; d = data;
if (!data) return; if (!data) return;

View File

@ -403,9 +403,7 @@ _e_remember_find(E_Border *bd, int check_usable)
#endif #endif
#if REMEMBER_HIERARCHY #if REMEMBER_HIERARCHY
Evas_List *l; Evas_List *l;
E_Remember *best_rem;
int best_score = 0;
/* This search method finds the best possible match available and is /* This search method finds the best possible match available and is
* based on the fact that the list is sorted, with those remembers * based on the fact that the list is sorted, with those remembers
* with the most possible matches at the start of the list. This * with the most possible matches at the start of the list. This
@ -415,7 +413,6 @@ _e_remember_find(E_Border *bd, int check_usable)
{ {
E_Remember *rem; E_Remember *rem;
const char *title = ""; const char *title = "";
int score = 0;
rem = l->data; rem = l->data;
if (check_usable && !e_remember_usable_get(rem)) if (check_usable && !e_remember_usable_get(rem))