diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-03 11:43:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-03 11:43:57 +0200 |
commit | 42e379a542bb756df1d2a61876db61f2f5c229ec (patch) | |
tree | 57b55962f29bc5d775c3b028db289bc0e1108a64 /hwpfilter | |
parent | 055f76b8f1897b79cc5f153da55e38b95ca551a2 (diff) |
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
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 869818998e35..7beafe2d615d 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 ) { |