[Libreoffice-commits] core.git: rsc/source

Caolán McNamara caolanm at redhat.com
Thu Mar 13 09:25:32 PDT 2014


 rsc/source/parser/rscinit.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit f008fe11b7723b9433d208af2b6d9808e3460844
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Mar 13 14:24:11 2014 +0000

    coverity#708798 Unused pointer value
    
    Change-Id: Ib27f174b37577a8572fb853a7040de51e95d665e

diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index abcc594..60798ab 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -59,7 +59,6 @@ void RscTypCont::Init()
     RscTupel *  pStringLongTupel;
     RscCont  *  pStringTupelList;
     RscCont  *  pStringLongTupelList;
-    RscArray *  pLangStringTupelList;
     RscArray *  pLangStringLongTupelList;
 
     RscTop   *  pClassMgr;
@@ -320,7 +319,7 @@ void RscTypCont::Init()
     aBaseLst.push_back( pLangStringList  = InitLangStringList( pStringList ) );
     aBaseLst.push_back( pStringTupel     = InitStringTupel() );
     aBaseLst.push_back( pStringTupelList = InitStringTupelList( pStringTupel ) );
-    aBaseLst.push_back( pLangStringTupelList = InitLangStringTupelList( pStringTupelList ) );
+    aBaseLst.push_back( InitLangStringTupelList( pStringTupelList ) );
     aBaseLst.push_back( pStringLongTupel = InitStringLongTupel() );
     aBaseLst.push_back( pStringLongTupelList = InitStringLongTupelList( pStringLongTupel ) );
     aBaseLst.push_back( pLangStringLongTupelList = InitLangStringLongTupelList( pStringLongTupelList ) );


More information about the Libreoffice-commits mailing list