diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-08 09:26:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-08 10:00:04 +0100 |
commit | 4b96089c09a0fecf05ede4df702ea8e5a7d96322 (patch) | |
tree | fcaa672a5cf4ad45cae3fbd778a17177712bd087 /tools | |
parent | CID#1078608 unlikely NULL deref case (diff) | |
download | core-4b96089c09a0fecf05ede4df702ea8e5a7d96322.tar.gz core-4b96089c09a0fecf05ede4df702ea8e5a7d96322.zip |
CID#1079187 try and silence this warning
Change-Id: Iee35eea6c9729e933feb9fa1c781c8b89566b7d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/rc/rc.cxx | 1 |
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 ) ); } |