summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 12:07:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 12:07:05 +0000
commit1a63122d32b5be3c85bff68a7adbce87d6e50130 (patch)
tree96e8a4a8b4a8be9550896730755d945e329eb73a /idl
parente0c6b04eb5a06c60d76ecfced0ead8fd1935240e (diff)
cppcheck: the scope of this variable can be reduced
Diffstat (limited to 'idl')
-rw-r--r--idl/source/cmptools/lex.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx
index 8751564c0969..beb29e3fe28c 100644
--- a/idl/source/cmptools/lex.cxx
+++ b/idl/source/cmptools/lex.cxx
@@ -338,7 +338,6 @@ ULONG SvTokenStream::GetNumber()
*************************************************************************/
BOOL SvTokenStream::MakeToken( SvToken & rToken )
{
- int c1;
USHORT i;
do
@@ -361,7 +360,7 @@ BOOL SvTokenStream::MakeToken( SvToken & rToken )
{
// Zeit Optimierung, keine Kommentare
//ByteString aComment( (char)c );
- c1 = c;
+ int c1 = c;
c = GetFastNextChar();
if( '/' == c )
{