summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/ecore/ecore_test_ecore_con.c5
-rw-r--r--src/tests/eina/eina_test_xattr.c2
-rw-r--r--src/tests/eio/eio_test_monitor.c4
3 files changed, 5 insertions, 6 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_con.c b/src/tests/ecore/ecore_test_ecore_con.c
index b6b6c6d176..a06bf31329 100644
--- a/src/tests/ecore/ecore_test_ecore_con.c
+++ b/src/tests/ecore/ecore_test_ecore_con.c
@@ -14,9 +14,6 @@ char cdata[] = "Client_info";
14Eina_Bool 14Eina_Bool
15_add(void *data, int type EINA_UNUSED, void *ev) 15_add(void *data, int type EINA_UNUSED, void *ev)
16{ 16{
17 double timeout_val = 10, ret;
18 void *del_data;
19
20 fail_if (type != ECORE_CON_EVENT_CLIENT_ADD && 17 fail_if (type != ECORE_CON_EVENT_CLIENT_ADD &&
21 type != ECORE_CON_EVENT_SERVER_ADD); 18 type != ECORE_CON_EVENT_SERVER_ADD);
22 19
@@ -24,6 +21,8 @@ _add(void *data, int type EINA_UNUSED, void *ev)
24 if (type == ECORE_CON_EVENT_CLIENT_ADD) 21 if (type == ECORE_CON_EVENT_CLIENT_ADD)
25 { 22 {
26 Ecore_Con_Event_Client_Add *event = ev; 23 Ecore_Con_Event_Client_Add *event = ev;
24 double timeout_val = 10, ret;
25 void *del_data;
27 26
28 fail_if (data != (void *) 1); 27 fail_if (data != (void *) 1);
29 fail_if (!event->client); 28 fail_if (!event->client);
diff --git a/src/tests/eina/eina_test_xattr.c b/src/tests/eina/eina_test_xattr.c
index 6f51c72222..d70e95209a 100644
--- a/src/tests/eina/eina_test_xattr.c
+++ b/src/tests/eina/eina_test_xattr.c
@@ -231,5 +231,7 @@ eina_test_xattr(TCase *tc)
231#ifdef XATTR_TEST_DIR 231#ifdef XATTR_TEST_DIR
232 tcase_add_test(tc, eina_test_xattr_set); 232 tcase_add_test(tc, eina_test_xattr_set);
233 tcase_add_test(tc, eina_test_xattr_list); 233 tcase_add_test(tc, eina_test_xattr_list);
234#else
235 (void)tc;
234#endif 236#endif
235} 237}
diff --git a/src/tests/eio/eio_test_monitor.c b/src/tests/eio/eio_test_monitor.c
index ba5943f863..7b93928ff3 100644
--- a/src/tests/eio/eio_test_monitor.c
+++ b/src/tests/eio/eio_test_monitor.c
@@ -106,8 +106,6 @@ static Eina_Bool _modify_attrib_file(void *data)
106 106
107static Eina_Bool _check_event_path(void *data, void *event) 107static Eina_Bool _check_event_path(void *data, void *event)
108{ 108{
109 const char *expected_path = (const char*)data;
110 const char *actual_path = ((Eio_Monitor_Event*)event)->filename;
111 ck_assert_str_eq((const char*)data, ((Eio_Monitor_Event*)event)->filename); 109 ck_assert_str_eq((const char*)data, ((Eio_Monitor_Event*)event)->filename);
112 return EINA_TRUE; 110 return EINA_TRUE;
113} 111}
@@ -626,7 +624,7 @@ START_TEST(eio_test_monitor_two_monitors_one_removed_one_event)
626} 624}
627END_TEST 625END_TEST
628 626
629static void _unexpected_event_cb(void *data, int type, void *event) 627static void _unexpected_event_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
630{ 628{
631 ck_abort_msg("unexpected event"); 629 ck_abort_msg("unexpected event");
632} 630}