diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-07 11:18:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-07 11:46:59 +0100 |
commit | 9cff818949f0a3d07c225c916c03097c6602e63b (patch) | |
tree | a9934b18b8144a23d51c093937b04462112c32cc /basic | |
parent | 470af978eb397e2078e5ee1a0b146b00de01e280 (diff) |
CID#708773 unused pointer value
Change-Id: Ib394a444882f5ffa1e0c5e833d59f4e4985479df
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/symtbl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index 2b8190c68ab7..b47583e4f1cc 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -454,12 +454,12 @@ void SbiProcDef::SetType( SbxDataType t ) void SbiProcDef::Match( SbiProcDef* pOld ) { - SbiSymDef* po, *pn=NULL; + SbiSymDef *pn=NULL; // parameter 0 is the function name sal_uInt16 i; for( i = 1; i < aParams.GetSize(); i++ ) { - po = pOld->aParams.Get( i ); + SbiSymDef* po = pOld->aParams.Get( i ); pn = aParams.Get( i ); // no type matching - that is done during running // but is it maybe called with too little parameters? @@ -467,7 +467,7 @@ void SbiProcDef::Match( SbiProcDef* pOld ) { break; } - po = pOld->aParams.Next(); + pOld->aParams.Next(); } if( pn && i < aParams.GetSize() && pOld->pIn ) |