Add comment for excluding coverage - not used function 89/206089/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.021351 accepted/tizen/5.5/unified/mobile/hotfix/20201027.085701 accepted/tizen/unified/20190514.080702 submit/tizen/20190514.074846 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 14 May 2019 07:20:27 +0000 (16:20 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 14 May 2019 07:25:19 +0000 (16:25 +0900)
Change-Id: Ife9615f3709ecdcc3d2fa96ff4bc6a7d1bb104ea
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/sound.c

index a0da68a..08905ab 100644 (file)
@@ -219,6 +219,7 @@ static int sound_is_supported(feedback_pattern_e pattern, bool *supported)
        return 0;
 }
 
+//LCOV_EXCL_START Not used function
 static int sound_get_path(feedback_pattern_e pattern, char *buf, unsigned int buflen)
 {
        char *cur_path;
@@ -239,7 +240,9 @@ static int sound_get_path(feedback_pattern_e pattern, char *buf, unsigned int bu
        snprintf(buf, buflen, "%s", cur_path);
        return ret;
 }
+//LCOV_EXCL_STOP
 
+//LCOV_EXCL_START Not used function
 static int sound_set_path(feedback_pattern_e pattern, char *path)
 {
        struct stat buf;
@@ -296,6 +299,7 @@ static int sound_set_path(feedback_pattern_e pattern, char *path)
                        profile->str_pattern(pattern), path);
        return 0;
 }
+//LCOV_EXCL_STOP
 
 static const struct device_ops sound_device_ops = {
        .type = FEEDBACK_TYPE_SOUND,