From 5ad28f7a45f3a1e78d67ec225dead2eb85346f17 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Tue, 12 Sep 2017 12:18:01 +0900 Subject: [PATCH] Modification for Tizen C++ Coding Rule Checker [Version] 0.4.0 [Issue Type] Cleanup Change-Id: I1e94771fa0f3ebc5cf6fce8cce0b15deacfb5abf --- packaging/capi-media-audio-io.spec | 2 +- src/cpp/CAudioIO.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/capi-media-audio-io.spec b/packaging/capi-media-audio-io.spec index 6e20ddf..40332fa 100644 --- a/packaging/capi-media-audio-io.spec +++ b/packaging/capi-media-audio-io.spec @@ -1,6 +1,6 @@ Name: capi-media-audio-io Summary: An Audio Input & Audio Output library in Tizen Native API -Version: 0.3.81 +Version: 0.4.0 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/cpp/CAudioIO.cpp b/src/cpp/CAudioIO.cpp index b98c2f9..24efd85 100644 --- a/src/cpp/CAudioIO.cpp +++ b/src/cpp/CAudioIO.cpp @@ -42,7 +42,6 @@ CAudioIO::CAudioIO() : mStatePrev = CAudioInfo::EAudioIOState::AUDIO_IO_STATE_NONE; mByPolicy = false; mIsInterrupted = false; - } CAudioIO::CAudioIO(CAudioInfo& audioInfo) : @@ -168,7 +167,6 @@ void CAudioIO::finalize() { if (ret != 0) { AUDIO_IO_LOGE("Failed pthread_mutex_destroy(%p) errno:%d", &__mMutex, ret); error_occured = true; - } ret = pthread_mutex_destroy(&__mCondMutex); if (ret != 0) { -- 2.7.4