SECURE_DBG and SECURE_ERR macro usage removed. 19/62819/1
authorRadoslaw Czerski <r.czerski@samsung.com>
Fri, 18 Mar 2016 11:55:36 +0000 (12:55 +0100)
committerRadoslaw Czerski <r.czerski@samsung.com>
Fri, 18 Mar 2016 11:55:36 +0000 (12:55 +0100)
Change-Id: I0c13fab9aa98b265affb4d6a73541ae1db502968
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
src/box.c
src/icon.c
src/message.c
src/modules/information/more_notify.c
src/util.c

index 3c79f82..b61a506 100644 (file)
--- a/src/box.c
+++ b/src/box.c
@@ -489,7 +489,6 @@ int box_unpack(icon_s *icon)
 {
        retv_if(!icon, 0);
 
-       SECURE_DBG("[box_unpack] %s!",icon->name);
        switch (icon->area) {
        case INDICATOR_ICON_AREA_FIXED:
                icon->exist_in_view = EINA_FALSE;
index 3b6bfd7..5c9e15a 100644 (file)
@@ -582,7 +582,7 @@ void icon_hide(icon_s *icon)
                ret = box_unpack(icon);
 
                if (ret == FAIL)
-                       SECURE_ERR("Failed to unpack %s!", icon->name);
+                       _E("Failed to unpack!");
 
                _show_others_in_same_priority(icon);
 
@@ -646,7 +646,6 @@ void icon_reset_list(void)
 
                        box_unpack(wish_remove_icon);
                        system_cnt = box_get_count(SYSTEM_LIST);
-                       SECURE_DBG("system remove %s %d",wish_remove_icon->name,system_cnt);
                }
        } else {
                while (system_cnt < box_get_enabled_system_count()) {
@@ -662,9 +661,7 @@ void icon_reset_list(void)
 
                        box_pack_append(wish_add_icon);
                        system_cnt = box_get_count(SYSTEM_LIST);
-                       SECURE_DBG("system insert %s %d",wish_add_icon->name,system_cnt);
                        if(system_cnt == box_get_enabled_system_count()) {
-                               SECURE_DBG("quit adding %d %d",system_cnt,box_get_enabled_system_count());
                                break;
                        }
                }
@@ -686,7 +683,6 @@ void icon_reset_list(void)
 
                        box_unpack(wish_remove_icon);
                        minictrl_cnt = box_get_count(MINICTRL_LIST);
-                       SECURE_DBG("minictrl remove %s %d",wish_remove_icon->name,minictrl_cnt);
                }
        } else {
                while (minictrl_cnt < box_get_minictrl_list()) {
@@ -702,9 +698,7 @@ void icon_reset_list(void)
 
                        box_pack_append(wish_add_icon);
                        minictrl_cnt = box_get_count(MINICTRL_LIST);
-                       SECURE_DBG("minictrl insert %s %d",wish_add_icon->name,minictrl_cnt);
                        if(minictrl_cnt==box_get_minictrl_list()) {
-                               SECURE_DBG("quit adding %d %d", minictrl_cnt, box_get_minictrl_list());
                                break;
                        }
                }
@@ -723,7 +717,6 @@ void icon_reset_list(void)
 
                        box_unpack(wish_remove_icon);
                        noti_cnt = box_get_count(NOTI_LIST);
-                       SECURE_DBG("remove %s %d",wish_remove_icon->name,noti_cnt);
                }
        } else {
                while (noti_cnt < box_get_enabled_noti_count()) {
@@ -739,9 +732,7 @@ void icon_reset_list(void)
 
                        box_pack_append(wish_add_icon);
                        noti_cnt = box_get_count(NOTI_LIST);
-                       SECURE_DBG("insert %s %d", wish_add_icon->name, noti_cnt);
                        if(noti_cnt==box_get_enabled_noti_count()) {
-                               SECURE_DBG("quit adding %d %d", noti_cnt, box_get_enabled_noti_count());
                                break;
                        }
                }
index e9aaba7..71e0ff9 100644 (file)
@@ -411,8 +411,6 @@ static void _handle_message_by_win(char *message, void *data)
        }
        msg_type = 0;
 
-       SECURE_DBG("message %s", message);
-
        temp = strdup(message);
 
        util_char_replace(temp,'\n',' ');
@@ -580,7 +578,6 @@ static void __buffer_msg_callback(const char *message, void *data)
                        ERR("QUEUE FULL");
                        return;
                }
-               SECURE_DBG("buffering... %d,%s",current_buf_cnt,message);
                if(msg_queue[current_buf_cnt].data!=NULL)
                {
                        free(msg_queue[current_buf_cnt].data);
index 81371a5..8fab1d6 100644 (file)
@@ -119,7 +119,7 @@ static void indicator_more_notify_change_cb(const char *key, void *data)
        if (strcmp(key, INDICATOR_MORE_NOTI) == 0) {
                win = &(ad->win);
        } else {
-               SECURE_ERR("invalid val %s",key);
+               _E("invalid value!");
                return;
        }
 
index 6448c84..cec7277 100644 (file)
@@ -100,10 +100,6 @@ void util_signal_emit(void* data, const char *emission, const char *source)
 
        char *filter1 = "indicator.connection.updown";
        char *filter2 = "indicator.wifi.updown";
-       if (strncmp(filter1, emission, strlen(filter1)) != 0
-                       && strncmp(filter2, emission, strlen(filter2)) != 0) {
-               SECURE_DBG("emission %s",emission);
-       }
 
        edje = elm_layout_edje_get(ad->win.layout);
        ret_if(!edje);
@@ -572,10 +568,9 @@ int util_dynamic_state_get(void)
 
 Ecore_File_Monitor* util_file_monitor_add(const char* file_path, Ecore_File_Monitor_Cb callback_func, void *ad)
 {
-       SECURE_DBG("File path : %s", file_path);
        Ecore_File_Monitor* pFileMonitor = NULL;
        pFileMonitor = ecore_file_monitor_add(file_path, callback_func, ad);
-       if(pFileMonitor == NULL) SECURE_DBG("ecore_file_monitor_add return NULL !!");
+       if(pFileMonitor == NULL) _D("ecore_file_monitor_add return NULL !!");
 
        return pFileMonitor;
 }