summaryrefslogtreecommitdiff
path: root/src/tests/eio/eio_test_monitor.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2015-03-17 13:09:46 +0200
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2015-03-18 11:26:29 +0200
commitd33508f407b50216c5268a1edaff565124daad3d (patch)
treeb6d8e26541963c71b5d2cb667ea5a97baeb6190b /src/tests/eio/eio_test_monitor.c
parent4315944259b253a566b7c64a62bee34e66fb2c61 (diff)
Tests: fix warnings.
@TAsn, I checked the code to be sure nothing is wrong :P
Diffstat (limited to '')
-rw-r--r--src/tests/eio/eio_test_monitor.c4
1 files changed, 1 insertions, 3 deletions
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}