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

Stephan Bergmann sbergman at redhat.com
Thu Sep 3 02:46:18 PDT 2015


 hwpfilter/source/hwpreader.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 42e379a542bb756df1d2a61876db61f2f5c229ec
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 3 11:43:57 2015 +0200

    clang-tidy clang-analyzer-deadcode.DeadStores
    
    ...ever since its inception in 16cba77220efab8204eeecb49ccd3ec033efca38
    "#112673# initial checkin of HWP filter" (but curr is needed as a local scratch
    pad in the STARTT macro)
    
    Change-Id: I7233bf99b7d6f9ac0d3d3384ba4508f84ba8fa38

diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 8698189..7beafe2 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -2871,7 +2871,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
     bool pstart = bParaStart;
     bool tstart = false;
     bool infield = false;
-    int curr = para->cshape.index;
+    int curr;
     if( d->bFirstPara && d->bInBody )
     {
         if ( !pstart ) {


More information about the Libreoffice-commits mailing list