diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 20:55:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 20:55:57 +0000 |
commit | 7830fc983f644026eb252bbf51ea52aacbc30650 (patch) | |
tree | 7cd4bbb442946f55a3a47132fabccb463c97ed9b /vcl | |
parent | 067b560335195b24eeedc4514956029ea975fbbf (diff) |
coverity#1257743 Uninitialized pointer field
Change-Id: Iaa0c47bcd53eaaf2577a5401762afaabe44e7514
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/mtfdemo.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx index 41b9fe78e296..7422e507ef1f 100644 --- a/vcl/workben/mtfdemo.cxx +++ b/vcl/workben/mtfdemo.cxx @@ -80,6 +80,13 @@ class DemoMtfApp : public Application } public: + + DemoMtfApp() + : mpWin(NULL) + , mpFileName(NULL) + { + } + virtual int Main() SAL_OVERRIDE { mpWin = new DemoMtfWin(*mpFileName); |