From 9cff818949f0a3d07c225c916c03097c6602e63b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 7 Oct 2013 11:18:59 +0100 Subject: CID#708773 unused pointer value Change-Id: Ib394a444882f5ffa1e0c5e833d59f4e4985479df --- basic/source/comp/symtbl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basic/source/comp') 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 ) -- cgit