From: Seoyeon Kim Date: Thu, 9 Feb 2017 06:59:42 +0000 (+0900) Subject: [3.0] Fixed Svace Issue X-Git-Tag: accepted/tizen/3.0/common/20170210.172532^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=41b17b1ded955ca25366d375bbb70770d3735760 [3.0] Fixed Svace Issue - Initialized one of class member Change-Id: Ibd97f8680686358e1184389eae7c80cb69937a8d Signed-off-by: Seoyeon Kim --- diff --git a/adaptors/ecore/wayland/window-render-surface-ecore-wl.cpp b/adaptors/ecore/wayland/window-render-surface-ecore-wl.cpp index baf7cb9..c8c2f92 100644 --- a/adaptors/ecore/wayland/window-render-surface-ecore-wl.cpp +++ b/adaptors/ecore/wayland/window-render-surface-ecore-wl.cpp @@ -50,6 +50,7 @@ WindowRenderSurface::WindowRenderSurface( Dali::PositionSize positionSize, const std::string& name, bool isTransparent) : EcoreWlRenderSurface( positionSize, surface, name, isTransparent ), + mWlWindow( NULL ), mEglWindow( NULL ) { DALI_LOG_INFO( gRenderSurfaceLogFilter, Debug::Verbose, "Creating Window\n" ); diff --git a/adaptors/tizen/ecore-indicator-impl-tizen.cpp b/adaptors/tizen/ecore-indicator-impl-tizen.cpp index b5dbdec..fcce43f 100644 --- a/adaptors/tizen/ecore-indicator-impl-tizen.cpp +++ b/adaptors/tizen/ecore-indicator-impl-tizen.cpp @@ -500,6 +500,7 @@ bool Indicator::ScopedLock::IsLocked() Indicator::Indicator( Adaptor* adaptor, Dali::Window::WindowOrientation orientation, IndicatorInterface::Observer* observer ) : mPixmap( 0 ), + mGestureDeltaY( 0.0f ), mGestureDetected( false ), mConnection( this ), mOpacityMode( Dali::Window::OPAQUE ), diff --git a/adaptors/tizen/native-render-surface-tizen.cpp b/adaptors/tizen/native-render-surface-tizen.cpp index 787507f..e02822d 100644 --- a/adaptors/tizen/native-render-surface-tizen.cpp +++ b/adaptors/tizen/native-render-surface-tizen.cpp @@ -51,6 +51,7 @@ struct NativeRenderSurface::Impl mTbmFormat( isTransparent ? TBM_FORMAT_ARGB8888 : TBM_FORMAT_RGB888 ), mOwnSurface( false ), mDrawableCompleted( false ), + mTbmQueue( NULL ), mConsumeSurface( NULL ), mThreadSynchronization( NULL ) { diff --git a/adaptors/wayland/event-handler-wl.cpp b/adaptors/wayland/event-handler-wl.cpp index bc7d900..0ae57f4 100644 --- a/adaptors/wayland/event-handler-wl.cpp +++ b/adaptors/wayland/event-handler-wl.cpp @@ -114,7 +114,8 @@ EventHandler::EventHandler( RenderSurface* surface, CoreEventInterface& coreEven mDragAndDropDetector( dndDetector ), mClipboardEventNotifier( ClipboardEventNotifier::Get() ), mClipboard( Dali::Clipboard::Get()), - mImpl( NULL ) + mImpl( NULL ), + mPaused( false ) { diff --git a/adaptors/wayland/render-surface/render-surface-wl.cpp b/adaptors/wayland/render-surface/render-surface-wl.cpp index f8323ea..e9c1348 100644 --- a/adaptors/wayland/render-surface/render-surface-wl.cpp +++ b/adaptors/wayland/render-surface/render-surface-wl.cpp @@ -44,7 +44,8 @@ RenderSurface::RenderSurface(Dali::PositionSize positionSize, const std::string& name, bool isTransparent) : mRenderNotification(NULL), - mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24) + mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24), + mEglWindow(NULL) { mWindow.mPosition = positionSize; mWindow.mTitle = name; diff --git a/adaptors/wayland/window-impl-wl.cpp b/adaptors/wayland/window-impl-wl.cpp index b21fe0d..f0be235 100644 --- a/adaptors/wayland/window-impl-wl.cpp +++ b/adaptors/wayland/window-impl-wl.cpp @@ -114,7 +114,8 @@ Window::Window() mNextIndicatorOrientation(Dali::Window::PORTRAIT), mIndicatorOpacityMode(Dali::Window::OPAQUE), mOverlay(NULL), - mAdaptor(NULL) + mAdaptor(NULL), + mPreferredOrientation(Dali::Window::PORTRAIT) { mEventHandler = NULL; } diff --git a/plugins/video-player/tizen-video-player.cpp b/plugins/video-player/tizen-video-player.cpp index bbcabaf..d33e234 100644 --- a/plugins/video-player/tizen-video-player.cpp +++ b/plugins/video-player/tizen-video-player.cpp @@ -206,6 +206,7 @@ void LogPlayerError( int error ) TizenVideoPlayer::TizenVideoPlayer() : mPlayer( NULL ), mPlayerState( PLAYER_STATE_NONE ), + mTbmSurface( NULL ), mPacket( NULL ), mBackgroundColor( Dali::Stage::DEFAULT_BACKGROUND_COLOR ), mTargetType( NativeImage )