improve line coverage
[platform/core/pim/contacts-service.git] / common / ipc / ctsvc_ipc_image.c
index 73e2bdc..83c7140 100644 (file)
@@ -45,9 +45,10 @@ static int __ctsvc_ipc_unmarshal_image(pims_ipc_data_h ipc_data,
 
                return CONTACTS_ERROR_NONE;
        } while (0);
-
+       /* LCOV_EXCL_START */
        ERR("__ctsvc_ipc_unmarshal_image() Fail");
        return CONTACTS_ERROR_INVALID_PARAMETER;
+       /* LCOV_EXCL_STOP */
 }
 
 static int __ctsvc_ipc_marshal_image(const contacts_record_h record,
@@ -74,9 +75,10 @@ static int __ctsvc_ipc_marshal_image(const contacts_record_h record,
 
                return CONTACTS_ERROR_NONE;
        } while (0);
-
+       /* LCOV_EXCL_START */
        ERR("_ctsvc_ipc_marshal() Fail");
        return CONTACTS_ERROR_INVALID_PARAMETER;
+       /* LCOV_EXCL_STOP */
 }
 
 ctsvc_ipc_marshal_record_plugin_cb_s _ctsvc_ipc_record_image_plugin_cb = {