diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 09:29:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 09:29:43 +0000 |
commit | 37a00689600cc9ec8bef109dc046579849a56bb8 (patch) | |
tree | a1a095344205a00585d2c77c4389f8576fb1ae96 /slideshow | |
parent | db03076476eb054db87e8d464d98799ca1bf661c (diff) |
coverity#984143 Uninitialized scalar field
Change-Id: I2940b86ce45dfc6b7399b76c84f88c5658f4a923
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 52418cb54621..c5d086e13e7f 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -1758,19 +1758,35 @@ void OGLTransitionerImpl::disposing() mxView.clear(); } -OGLTransitionerImpl::OGLTransitionerImpl() : - OGLTransitionerImplBase(m_aMutex), - GLleavingSlide( 0 ), - GLenteringSlide( 0 ), - pWindow( NULL ), - mxView(), - EnteringBytes(), - LeavingBytes(), - mbRestoreSync( false ), - mbUseLeavingPixmap( false ), - mbUseEnteringPixmap( false ), - SlideBitmapLayout(), - SlideSize() +OGLTransitionerImpl::OGLTransitionerImpl() + : OGLTransitionerImplBase(m_aMutex) + , GLleavingSlide(0) + , GLenteringSlide(0) + , pWindow(NULL) + , mxView() + , EnteringBytes() + , LeavingBytes() +#if defined( GLX_EXT_texture_from_pixmap ) + , LeavingPixmap(0) + , EnteringPixmap(0) +#endif + , mbRestoreSync(false) + , mbUseLeavingPixmap(false) + , mbUseEnteringPixmap(false) + , mbFreeLeavingPixmap(false) + , mbFreeEnteringPixmap(false) +#ifdef UNX + , maLeavingPixmap(0) + , maEnteringPixmap(0) +#endif + , SlideBitmapLayout() + , SlideSize() +#ifdef UNX + , mnGLXVersion(0.0) +#endif + , mbTextureFromPixmap(false) + , mbGenerateMipmap(false) + , mbHasTFPVisual(false) { memset(&GLWin, 0, sizeof(GLWin)); } |