summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:14:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:40 +0100
commit9ab85c298bee6e702dd78e7746bafde92419081f (patch)
tree81d5bfe5cdee1cab1b698cdd4c2f82a439012482 /vcl
parent748d94bdbe7cbc4d0e59da17db8a130d9326ea85 (diff)
coverity#1247652 Uninitialized scalar field
Change-Id: I4760bc63f61d59c51b6557bf0e3364c1fe0e56be
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/icontest.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx
index 83939772f4f2..f9b0709e1fbe 100644
--- a/vcl/workben/icontest.cxx
+++ b/vcl/workben/icontest.cxx
@@ -145,8 +145,10 @@ void MyWorkWindow::Paint( const Rectangle& rRect )
Invalidate( INVALIDATE_CHILDREN );
}
-MyOpenGLWorkWindow::MyOpenGLWorkWindow( vcl::Window* pParent, WinBits nWinStyle ) :
- MyWorkWindow( pParent, nWinStyle )
+MyOpenGLWorkWindow::MyOpenGLWorkWindow( vcl::Window* pParent, WinBits nWinStyle )
+ : MyWorkWindow(pParent, nWinStyle)
+ , mnTextureName(0)
+ , mnTextureAspect(0)
{
mbHaveTexture = false;
mpOpenGLWindow = new OpenGLWindow( this );