summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 12:52:21 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 15:45:04 +0100
commitcda69956c9d0769c4cb254c0e08ac912fe136fdb (patch)
tree02ad331e22a550f296db327c17169bf835461841
parent185009b7993d64d4240a580383eb16ab2b652f11 (diff)
dead init (clang)
Change-Id: I009bad46c35c1cc76c59441ed4f6a03a31967e68
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index e33a8c50f0fc..bb0a00c3f48c 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -122,8 +122,7 @@ bool SwCTBWrapper::Read( SvStream& rS )
// but the size of a SwTBC element is dynamic ( and this relates to TBDelta's
int nStart = rS.Tell();
- int bytesRead = 0;
- int bytesToRead = cbDTBC - bytesRead;
+ int bytesToRead;
// cbDTBC specifies the size ( in bytes ) taken by an array ( of unspecified size )
// of SwTBC records ( SwTBC records have dynamic length, so we need to check our position
// after each read )