summaryrefslogtreecommitdiffstats
path: root/vcl/generic/glyphs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-07 15:46:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-07 16:07:00 +0200
commitd272d64e7cd3a71dc422c3250df869451c088c07 (patch)
tree94154faf8d20399ab61124afccb8e3e0d8492c22 /vcl/generic/glyphs
parentmodule-deps now distinguishes merged-libs in its output. (diff)
downloadcore-d272d64e7cd3a71dc422c3250df869451c088c07.tar.gz
core-d272d64e7cd3a71dc422c3250df869451c088c07.zip
clang-analyzer-deadcode.DeadStores
...ever since its inception with 2d1f08d63942666c0094904f50ba8c512ab69b9d "CWS-TOOLING: integrate CWS otf01" Change-Id: I92ec60f5704e632126f3ba98140c520ae5c9e784
Diffstat (limited to 'vcl/generic/glyphs')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index 1d1e1ac838d2..0e1e504f47ec 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -1316,7 +1316,7 @@ bool FtFontInfo::GetFontCodeRanges( CmapResult& rResult ) const
if( !nGlyphIndex )
break;
aCodes.push_back( cCode ); // first code inside range
- sal_uInt32 cNext = cCode;
+ sal_uInt32 cNext;
do cNext = FT_Get_Next_Char( maFaceFT, cCode, &nGlyphIndex ); while( cNext == ++cCode );
aCodes.push_back( cCode ); // first code outside range
cCode = cNext;