fix some more warnings

SVN revision: 48345
This commit is contained in:
Hannes Janetzek 2010-04-26 18:26:49 +00:00
parent 5e8a3abd9a
commit 5ef6f8bf5b
3 changed files with 7 additions and 6 deletions

View File

@ -2178,4 +2178,5 @@ e_mod_comp_win_evas_object_get(E_Comp_Win *cw)
Evas_Object *
e_mod_comp_win_mirror_object_add(Evas *e, E_Comp_Win *cw)
{
return NULL;
}

View File

@ -175,7 +175,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
if (cfdata->fill_delay) ecore_timer_del(cfdata->fill_delay);
if (data = cfdata->data)
if ((data = cfdata->data))
{
if (data->title) eina_stringshare_del(data->title);
if (data->dialog) eina_stringshare_del(data->dialog);
@ -393,7 +393,7 @@ _fill_apps_list(E_Config_Dialog_Data *cfdata)
static void
_fill_order_list(E_Config_Dialog_Data *cfdata)
{
Eina_List *l = NULL, *desks = NULL;
Eina_List *l = NULL;
Efreet_Desktop *desk = NULL;
Evas *evas;
@ -549,7 +549,7 @@ _cb_up(void *data, void *data2 __UNUSED__)
sel = e_widget_ilist_selected_get(cfdata->o_order);
lbl = e_widget_ilist_selected_label_get(cfdata->o_order);
if (desk = efreet_util_desktop_name_find(lbl))
if ((desk = efreet_util_desktop_name_find(lbl)))
{
Evas_Object *icon = NULL;
@ -586,7 +586,7 @@ _cb_down(void *data, void *data2 __UNUSED__)
sel = e_widget_ilist_selected_get(cfdata->o_order);
lbl = e_widget_ilist_selected_label_get(cfdata->o_order);
if (desk = efreet_util_desktop_name_find(lbl))
if ((desk = efreet_util_desktop_name_find(lbl)))
{
Evas_Object *icon = NULL;

View File

@ -94,7 +94,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
{
Eina_List *l;
if (l = ecore_file_ls("/proc/acpi/thermal_zone"))
if ((l = ecore_file_ls("/proc/acpi/thermal_zone")))
{
char *name;
int n = 0;
@ -122,7 +122,7 @@ _fill_sensors(E_Config_Dialog_Data *cfdata, const char *name)
char *n;
if (!name) return;
if (therms = temperature_get_bus_files(name))
if ((therms = temperature_get_bus_files(name)))
{
char path[PATH_MAX];