test_check: fix build warning
authorJinYong Park <j4939.park@samsung.com>
Wed, 23 Aug 2017 04:52:24 +0000 (13:52 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 23 Aug 2017 04:52:25 +0000 (13:52 +0900)
Summary:  In state_changed_cb2 callback function, obj is used. so it should not be EINA_UNUSED

Reviewers: Jaehyun_Cho, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5122

src/bin/elementary/test_check.c

index 6841230..9633f14 100644 (file)
@@ -21,7 +21,7 @@ state_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
 }
 
 static void
-state_changed_cb2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+state_changed_cb2(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
 {
    if (elm_check_state_get(obj) == EINA_FALSE)
       elm_object_text_set(obj, NULL);