process/conformant: Remove unnecessary error logs 08/100108/1
authorSeungjin Park <sj8808.park@samsung.com>
Fri, 25 Nov 2016 06:35:24 +0000 (15:35 +0900)
committerSeungjin Park <sj8808.park@samsung.com>
Fri, 25 Nov 2016 06:38:00 +0000 (15:38 +0900)
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
Change-Id: I0ca7e30660563efab4dec4e2c7a5b023c85c43d5

src/bin/e_policy_conformant.c
src/bin/e_process.c

index 9a30fc4..5bac1cd 100644 (file)
@@ -383,7 +383,9 @@ _conf_cb_client_add(void *data, int evtype EINA_UNUSED, void *event)
    ev = event;
 
    type = _conf_client_type_get(ev->ec);
-   EINA_SAFETY_ON_TRUE_RETURN_VAL(type >= CONFORMANT_TYPE_MAX, ECORE_CALLBACK_PASS_ON);
+
+   if (type >= CONFORMANT_TYPE_MAX)
+     return ECORE_CALLBACK_PASS_ON;
 
    _conf_part_register(conf, ev->ec, type);
 
index 7dfe459..ee578ed 100644 (file)
@@ -124,7 +124,7 @@ _e_process_client_info_del(E_Client *ec)
    if (pid <=0) return;
 
    pinfo = _e_process_find(_e_process_manager, pid);
-   EINA_SAFETY_ON_NULL_RETURN(pinfo);
+   if (!pinfo) return;
 
    if (_e_process_manager->active_win == ec)
      {