Kaydet (Commit) f470434b authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unused parameter 'nGPR' and 'nFPR'

Change-Id: If1de390588d9f73f1dd47a622e3b183062386043
üst 362d4f0c
......@@ -125,9 +125,7 @@ void callVirtualMethod(
sal_uInt64 *pStack,
int nStack,
sal_uInt64 *pGPR,
int nGPR,
double *pFPR,
int nFPR)
double *pFPR)
{
// never called
if (! pThis)
......@@ -141,9 +139,6 @@ void callVirtualMethod(
memcpy( stack, pStack, nStackBytes );
}
assert( nGPR <= arm::MAX_GPR_REGS );
assert( nFPR <= arm::MAX_FPR_REGS );
sal_uInt64 pMethod = *((sal_uInt64*)pThis);
pMethod += 8 * nVtableIndex;
pMethod = *((sal_uInt64 *)pMethod);
......@@ -348,6 +343,9 @@ static void cpp_call(
}
}
assert( nGPR <= arm::MAX_GPR_REGS );
assert( nFPR <= arm::MAX_FPR_REGS );
try
{
callVirtualMethod(
......@@ -355,8 +353,8 @@ static void cpp_call(
pCppReturn, pReturnTypeRef,
pStackStart,
(pStack - pStackStart),
pGPR, nGPR,
pFPR, nFPR);
pGPR,
pFPR);
// NO exception occurred...
*ppUnoExc = 0;
......
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