From 818a65f36f4fe1931a53675ff2bc0e12307d58ef Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Thu, 16 May 2013 13:10:01 +0100 Subject: Replacing duplicate *trivvarargs methods with a single implementation in args.c. Copied from Perforce Change: 181851 ServerID: perforce.ravenbrook.com --- mps/code/poolabs.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mps/code/poolabs.c') diff --git a/mps/code/poolabs.c b/mps/code/poolabs.c index c29f409ae9b..212fa76a44c 100644 --- a/mps/code/poolabs.c +++ b/mps/code/poolabs.c @@ -122,7 +122,7 @@ DEFINE_CLASS(AbstractPoolClass, class) class->size = 0; class->offset = 0; class->attr = 0; - class->varargs = PoolTrivVarargs; + class->varargs = ArgTrivVarargs; class->init = PoolTrivInit; class->finish = PoolTrivFinish; class->alloc = PoolNoAlloc; @@ -195,13 +195,6 @@ void PoolTrivFinish(Pool pool) NOOP; } -void PoolTrivVarargs(ArgStruct args[MPS_ARGS_MAX], va_list varargs) -{ - UNUSED(varargs); - args[0].key = MPS_KEY_ARGS_END; - AVER(ArgListCheck(args)); -} - Res PoolTrivInit(Pool pool, ArgList args) { AVERT(Pool, pool); -- cgit v1.2.1