Fix wrong macro for LCOV 94/199694/2
authorhyunuktak <hyunuk.tak@samsung.com>
Thu, 14 Feb 2019 05:57:56 +0000 (14:57 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Mon, 25 Feb 2019 04:37:34 +0000 (04:37 +0000)
Change-Id: I5a1af7cda1393e2f29e83b918582bcc4ed27e3c7
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
src/internal/stc-private.c
src/stc-pcap.c

index 19e3b73..40f38a5 100755 (executable)
@@ -636,6 +636,7 @@ static void __stc_event_cb(stc_event_info_s *event_info, void *user_data)
                        g_slist_free(info_data);
                }
                break;
+       //LCOV_EXCL_START
        case STC_EVENT_RESTRICTION_LOAD_LIST_RSP:
        case STC_EVENT_RESTRICTION_LOAD_RULE_FROM_LIST_RSP:
                {
@@ -644,7 +645,6 @@ static void __stc_event_cb(stc_event_info_s *event_info, void *user_data)
                        __stc_callback_foreach(event_info->event, error, info_data);
                }
                break;
-       //LCOV_EXCL_START
        case STC_EVENT_WARN_THRESHOLD_CROSSED_RSP:
        case STC_EVENT_RESTRICTION_THRESHOLD_CROSSED_RSP:
                {
index 44556d8..9f68500 100755 (executable)
@@ -259,7 +259,6 @@ static void __stc_pcap_find_all_devs_reply(
                event_data.datalength = g_slist_length(dev_list);
                event_data.error = STC_ERROR_NONE;
        } else {
-               //LCOV_EXCL_START
                STC_LOGE("Find all devs response error [%s]",
                        _stc_convert_error_type_to_string(error));
 
@@ -267,7 +266,6 @@ static void __stc_pcap_find_all_devs_reply(
                event_data.info_data = NULL;
                event_data.datalength = 0;
                event_data.error = error;
-               //LCOV_EXCL_STOP
        }
 
        _stc_event_add_client_idle_cb(&event_data, user_data);