Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_exec.c
Log Message:
Add __UNUSED__ to evas_hash_foreach function.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_exec.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_exec.c 9 Feb 2008 22:41:30 -0000 1.10
+++ e_exec.c 9 Feb 2008 22:47:09 -0000 1.11
@@ -57,7 +57,7 @@
static int _e_exec_cb_expire_timer(void *data);
static int _e_exec_cb_exit(void *data, int type, void *event);
-static Evas_Bool _e_exec_startup_id_pid_find(const Evas_Hash *hash, const char
*key, void *value, void *data);
+static Evas_Bool _e_exec_startup_id_pid_find(const Evas_Hash *hash __UNUSED__,
const char *key __UNUSED__, void *value, void *data);
static void _e_exec_error_dialog(Efreet_Desktop *desktop, const char
*exec, Ecore_Exe_Event_Del *event, Ecore_Exe_Event_Data *error,
Ecore_Exe_Event_Data *read);
static void _fill_data(E_Config_Dialog_Data *cfdata);
@@ -352,7 +352,7 @@
}
static Evas_Bool
-_e_exec_startup_id_pid_find(const Evas_Hash *hash, const char *key, void
*value, void *data)
+_e_exec_startup_id_pid_find(const Evas_Hash *hash __UNUSED__, const char *key
__UNUSED__, void *value, void *data)
{
E_Exec_Search *search;
Evas_List *instances, *l;
@@ -365,7 +365,8 @@
inst = l->data;
if (((search->startup_id > 0) && (search->startup_id ==
inst->startup_id)) ||
- ((inst->exe) && (search->pid > 1) && (search->pid ==
ecore_exe_pid_get(inst->exe))))
+ ((inst->exe) && (search->pid > 1) &&
+ (search->pid == ecore_exe_pid_get(inst->exe))))
{
search->desktop = inst->desktop;
return 0;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs