summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-03 15:23:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-03 15:46:18 +0100
commit5a67883ed4fd63bf0fed2d210fb0777a2008b170 (patch)
treee1d21328cb5efac81d424e97bd149755c86955c0 /tools
parent618dc924b4d28a9d50bfcc4d35748cc1363bd92f (diff)
coverity#1079187 Uninitialized pointer read
Change-Id: Ie3044bebc7921b0fa98f9a9a01f99ef0f2d05eb8
Diffstat (limited to 'tools')
-rw-r--r--tools/source/rc/rc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/source/rc/rc.cxx b/tools/source/rc/rc.cxx
index f3e966dcee9f..5700f151ee46 100644
--- a/tools/source/rc/rc.cxx
+++ b/tools/source/rc/rc.cxx
@@ -25,6 +25,7 @@
#include <tools/rcid.h>
Resource::Resource( const ResId& rResId )
+ : m_pResMgr(NULL)
{
GetRes( rResId.SetRT( RSC_RESOURCE ) );
}