Kaydet (Commit) 9cff8189 authored tarafından Caolán McNamara's avatar Caolán McNamara

CID#708773 unused pointer value

Change-Id: Ib394a444882f5ffa1e0c5e833d59f4e4985479df
üst 470af978
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment