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"; Eina_Bool _add(void *data, int type EINA_UNUSED, void *ev) { - double timeout_val = 10, ret; - void *del_data; - fail_if (type != ECORE_CON_EVENT_CLIENT_ADD && type != ECORE_CON_EVENT_SERVER_ADD); @@ -24,6 +21,8 @@ _add(void *data, int type EINA_UNUSED, void *ev) if (type == ECORE_CON_EVENT_CLIENT_ADD) { Ecore_Con_Event_Client_Add *event = ev; + double timeout_val = 10, ret; + void *del_data; fail_if (data != (void *) 1); 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) #ifdef XATTR_TEST_DIR tcase_add_test(tc, eina_test_xattr_set); tcase_add_test(tc, eina_test_xattr_list); +#else + (void)tc; #endif } 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) static Eina_Bool _check_event_path(void *data, void *event) { - const char *expected_path = (const char*)data; - const char *actual_path = ((Eio_Monitor_Event*)event)->filename; ck_assert_str_eq((const char*)data, ((Eio_Monitor_Event*)event)->filename); return EINA_TRUE; } @@ -626,7 +624,7 @@ START_TEST(eio_test_monitor_two_monitors_one_removed_one_event) } END_TEST -static void _unexpected_event_cb(void *data, int type, void *event) +static void _unexpected_event_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED) { ck_abort_msg("unexpected event"); }