From 6725747ac78dd274bb5d9b976f86c11e1517f783 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Fri, 26 Oct 2018 13:37:56 +0900 Subject: [PATCH] Add more excludes Change-Id: I0bbcebec7119a3b9561ac2cede1f0eec772105cb --- src/cpp/CAudioIO.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cpp/CAudioIO.cpp b/src/cpp/CAudioIO.cpp index 1d44607..2e236ef 100644 --- a/src/cpp/CAudioIO.cpp +++ b/src/cpp/CAudioIO.cpp @@ -146,8 +146,10 @@ void CAudioIO::finalize() { bool error_occured = false; int ret = pthread_mutex_destroy(&__mMutex); if (ret != 0) { - AUDIO_IO_LOGE("Failed pthread_mutex_destroy(%p) errno:%d", &__mMutex, ret); //LCOV_EXCL_LINE +//LCOV_EXCL_START + AUDIO_IO_LOGE("Failed pthread_mutex_destroy(%p) errno:%d", &__mMutex, ret); error_occured = true; +//LCOV_EXCL_STOP } ret = pthread_mutex_destroy(&__mCondMutex); @@ -167,7 +169,7 @@ void CAudioIO::finalize() { } if (error_occured) - THROW_ERROR_MSG_FORMAT(CAudioError::EError::ERROR_INTERNAL_OPERATION, "Finalize Failed"); + THROW_ERROR_MSG_FORMAT(CAudioError::EError::ERROR_INTERNAL_OPERATION, "Finalize Failed"); //LCOV_EXCL_LINE __mIsInit = false; } -- 2.7.4