From 1a63122d32b5be3c85bff68a7adbce87d6e50130 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 5 Dec 2010 12:07:05 +0000 Subject: cppcheck: the scope of this variable can be reduced --- idl/source/cmptools/lex.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'idl/source/cmptools') 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 ) { -- cgit