summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-08 09:26:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-08 10:00:04 +0100
commit4b96089c09a0fecf05ede4df702ea8e5a7d96322 (patch)
treefcaa672a5cf4ad45cae3fbd778a17177712bd087 /tools
parent8da3e7f63512662b2942176c32d324e6a68cc764 (diff)
CID#1079187 try and silence this warning
Change-Id: Iee35eea6c9729e933feb9fa1c781c8b89566b7d8
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 7ebdae058461..af2cc3d67521 100644
--- a/tools/source/rc/rc.cxx
+++ b/tools/source/rc/rc.cxx
@@ -33,6 +33,7 @@ void Resource::GetRes( const ResId& rResId )
{
if( rResId.GetResMgr() )
m_pResMgr = rResId.GetResMgr();
+ assert(m_pResMgr);
m_pResMgr->GetResource( rResId, this );
IncrementRes( sizeof( RSHEADER_TYPE ) );
}