diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-19 09:24:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-19 10:26:51 +0100 |
commit | 9c883e6a27a6c6cccc17f6ed77520d9073d10693 (patch) | |
tree | a41ee4830fb50d2429c19f3f0493b58838eeeb4a | |
parent | 0766b83a2b461a73bd5574019fae5fd3ac0ff37f (diff) |
coverity#1019333 Explicit null dereferenced
Change-Id: I3ac21f8613558cb0413f405287cdd394f3facf02
-rw-r--r-- | l10ntools/source/export.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index d3d4cfb4b895..6f8c8b828f60 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -637,7 +637,7 @@ int Export::Execute( int nToken, const char * pToken ) case RSCDEFINELEND: break; case CONDITION: { - if ( nLevel ) { + if ( nLevel && pResData ) { WriteData( pResData, true ); } } |