summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-24 17:12:26 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-26 22:02:41 +0200
commitf9dd399a574a06fb79812d2a29a7c862c46026da (patch)
tree75a5a87940680f0c23e94e5ea0d763f70c11bded /vcl
parentae21e90fe8edde305008f01ed838ab49313a31c2 (diff)
cppcheck: reduce scope of variabl.e in vcl, cff.cxx
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/fontsubset/cff.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 231fe4e5fb51..85e710f8c209 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -595,7 +595,6 @@ void CffSubsetterContext::setCharStringType( int nVal)
void CffSubsetterContext::readDictOp( void)
{
ValType nVal = 0;
- int nInt = 0;
const U8 c = *mpReadPtr;
if( c <= 21 ) {
int nOpId = *(mpReadPtr++);
@@ -613,6 +612,7 @@ void CffSubsetterContext::readDictOp( void)
return;
//TODO: if( nStackIdx > 0)
+ int nInt = 0;
switch( *pCmdName) {
default: fprintf( stderr, "unsupported DictOp.type=\'%c\'\n", *pCmdName); break;
case 'b': // bool