From: hyunuktak Date: Thu, 14 Feb 2019 05:57:56 +0000 (+0900) Subject: Fix wrong macro for LCOV X-Git-Tag: submit/tizen/20190311.084912~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F199694%2F2;p=platform%2Fcore%2Fapi%2Fsmart-traffic-control.git Fix wrong macro for LCOV Change-Id: I5a1af7cda1393e2f29e83b918582bcc4ed27e3c7 Signed-off-by: hyunuktak --- diff --git a/src/internal/stc-private.c b/src/internal/stc-private.c index 19e3b73..40f38a5 100755 --- a/src/internal/stc-private.c +++ b/src/internal/stc-private.c @@ -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: { diff --git a/src/stc-pcap.c b/src/stc-pcap.c index 44556d8..9f68500 100755 --- a/src/stc-pcap.c +++ b/src/stc-pcap.c @@ -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);