Fix klocwork problems in Ubuntu build 77/53177/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 2 Dec 2015 10:11:17 +0000 (10:11 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 2 Dec 2015 10:12:57 +0000 (10:12 +0000)
Change-Id: Ia79e500c973f2e3a98b22cc952fd5bf71d237689

adaptors/ubuntu/accessibility-adaptor-impl-ubuntu.cpp
adaptors/ubuntu/tts-player-impl-ubuntu.cpp
adaptors/ubuntu/tts-player-impl.h

index dec7918..e967819 100644 (file)
@@ -233,18 +233,6 @@ AccessibilityAdaptor::AccessibilityAdaptor()
   mIndicator( NULL ),
   mIndicatorFocused( false )
 {
-  int isEnabled = 0;
-  DALI_LOG_INFO(gAccessibilityAdaptorLogFilter, Debug::General, "[%s:%d] %s\n", __FUNCTION__, __LINE__, isEnabled?"ENABLED":"DISABLED");
-
-  if(isEnabled == 1)
-  {
-    mIsEnabled = true;
-  }
-  else
-  {
-    mIsEnabled = false;
-  }
-
   mAccessibilityGestureDetector = new AccessibilityGestureDetector();
 }
 
index 54c1cdf..12e5c55 100644 (file)
@@ -54,6 +54,7 @@ Dali::TtsPlayer TtsPlayer::New(Dali::TtsPlayer::Mode mode)
 }
 
 TtsPlayer::TtsPlayer(Dali::TtsPlayer::Mode mode)
+: mStateChangedSignal()
 {
   DALI_LOG_ERROR("TTS is not implemented in UBUNTU profile.");
 }
index 22dcd41..89241b0 100644 (file)
@@ -99,10 +99,6 @@ private:
 private:
 
   Dali::TtsPlayer::StateChangedSignalType mStateChangedSignal; ///< Signal emitted when the TTS state changes (non-functional, for interface compatibility).
-  std::string mUnplayedString; ///< The text that can not be played because tts engine is not yet initialized
-  int mUtteranceId;  ///< The utterance ID
-
-  Dali::TtsPlayer::Mode mTtsMode; ///< The current mode of tts engine
 
 #if defined(DEBUG_ENABLED)
 public: