diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 14:47:52 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 14:48:04 +0100 |
commit | 2ce2fafa1b19f3eaad89ec57ac312ce2f33fbf20 (patch) | |
tree | 98c0ddb2a496a1b43c154c48a45a1fed8f7b3501 /basic/source | |
parent | 2bfccd148958ff8b3af49854b611649839028c97 (diff) |
Some cppcheck cleaning
Change-Id: Idb380dbb7470dbdb371778ba0c486392cc55380e
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/comp/dim.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index 3a6c5c93d971..3f79a2874092 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -615,10 +615,9 @@ void SbiParser::DefType( bool bPrivate ) for ( short i=0; i<pDim->GetSize();++i ) { - sal_Int32 ub = -1; sal_Int32 lb = nBase; SbiExprNode* pNode = pDim->Get(i)->GetExprNode(); - ub = pNode->GetNumber(); + sal_Int32 ub = pNode->GetNumber(); if ( !pDim->Get( i )->IsBased() ) // each dim is low/up { if ( ++i >= pDim->GetSize() ) // trouble |