From 4d00131b677da3afd1779777dabb275c276221c8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 7 Oct 2015 10:15:14 +0200 Subject: Reduce variable scope Change-Id: I87850db982f413b328976e043d8386b7577ba17c --- basic/source/comp/exprtree.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'basic') diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 53dcfc57e779..5850072bad31 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -501,10 +501,9 @@ SbiExprNode* SbiExpression::ObjTerm( SbiSymDef& rObj ) SbiExprNode* SbiExpression::Operand( bool bUsedForTypeOf ) { SbiExprNode *pRes; - SbiToken eTok; // test operand: - switch( eTok = pParser->Peek() ) + switch( SbiToken eTok = pParser->Peek() ) { case SYMBOL: pRes = Term(); -- cgit