e_test_helper: removed unused function to fix an warning 97/69397/1
authorGwanglim Lee <gl77.lee@samsung.com>
Fri, 13 May 2016 05:20:29 +0000 (14:20 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 13 May 2016 05:20:29 +0000 (14:20 +0900)
Change-Id: I0f9ce6cee68ed6b76ac86358400761d1178387ef

src/bin/e_test_helper.c

index 8c84801fbcc6a0a4a274e5318abe46bb1d224ef2..9420a6f2a21135113adcd222c760175aa3c52402 100644 (file)
@@ -275,35 +275,6 @@ _e_test_helper_cb_get_clients(const Eldbus_Service_Interface *iface EINA_UNUSED,
    return reply;
 }
 
-static void
-_e_test_helper_cb_name_request(void *data EINA_UNUSED,
-                               const Eldbus_Message *msg,
-                               Eldbus_Pending *pending EINA_UNUSED)
-{
-   unsigned int flag;
-   const char *errname, *errmsg;
-
-   if (eldbus_message_error_get(msg, &errname, &errmsg))
-     {
-        ERR("error on _e_test_helper_cb_name_request %s %s\n", errname, errmsg);
-        e_test_helper_shutdown();
-        return;
-     }
-
-   if (!eldbus_message_arguments_get(msg, "u", &flag))
-     {
-        ERR("error geting arguments on _e_test_helper_cb_name_request\n");
-        e_test_helper_shutdown();
-        return;
-     }
-
-   if (flag != ELDBUS_NAME_REQUEST_REPLY_PRIMARY_OWNER)
-     {
-        ERR("error name already in use\n");
-        e_test_helper_shutdown();
-     }
-}
-
 static Eina_Bool
 _e_test_helper_cb_visibility_change(void *data EINA_UNUSED,
                                     int type EINA_UNUSED,