summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-10 21:10:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-10 21:10:10 +0100
commit5094b783faf1f8daf23fd08fd25af94eaf1e3d90 (patch)
tree2fd05ae38295e2ddf689d6850e16a35e902a073e /vcl
parent5b73a66c1dc701cc2fd64be8cd98fbf17ad8ef4c (diff)
coverity#1323759 Uninitialized pointer field
Change-Id: I9fca8838beb1c2f6db8a9f1c9b6fe77f247b847c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 6fd18c8a4f3a..b8e6e3112aa1 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -470,8 +470,9 @@ private:
Display* mdpy;
public:
- TempErrorHandler(Display* dpy, errorHandler newErrorHandler):
- mdpy(dpy)
+ TempErrorHandler(Display* dpy, errorHandler newErrorHandler)
+ : oldErrorHandler(0)
+ , mdpy(dpy)
{
if (mdpy)
{