summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-01-25 12:27:20 +0100
committerDavid Tardon <dtardon@redhat.com>2011-01-25 15:21:12 +0100
commitc084e14932302b20d86fd4c959d509e3c5df3ca0 (patch)
treec0b212f7c34c4acb8e6d736a7052bd0310db39de
parent025ddb2c120bdc9475b353bafbed72f8bf725512 (diff)
WaE: unused variables
-rw-r--r--vcl/source/fontsubset/cff.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index b0c17df110b7..d2a2dc6dd8e6 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -1751,7 +1751,9 @@ int CffSubsetterContext::getFDSelect( int nGlyphIndex) const
const U16 nRangeCount = (pReadPtr[0]<<8) + pReadPtr[1];
assert( nRangeCount > 0);
assert( nRangeCount <= mnCharStrCount);
+#ifndef NDEBUG
U16 nPrev = (pReadPtr[2]<<8) + pReadPtr[3];
+#endif
assert( nPrev == 0);
(void)nPrev;
pReadPtr += 4;
@@ -1763,7 +1765,9 @@ int CffSubsetterContext::getFDSelect( int nGlyphIndex) const
if( nGlyphIndex < nNext)
return nFDIdx;
pReadPtr += 3;
+#ifndef NDEBUG
nPrev = nNext;
+#endif
}
} break;
default: // invalid FDselect format