From ad38029e6e10db27652e2f79c9c68b87593ebffa Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 10 Jun 2013 20:05:21 +0200 Subject: TONY: Remove varargs from mpalQueryCORO(). CID 1002105 It didn't always reach va_end(), but rather than adding a call it makes more sense to just drop the varargs from it, since it didn't use it anyway. --- engines/tony/mpal/mpal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/tony/mpal/mpal.h') diff --git a/engines/tony/mpal/mpal.h b/engines/tony/mpal/mpal.h index 779bdd6188..2d22ee8faf 100644 --- a/engines/tony/mpal/mpal.h +++ b/engines/tony/mpal/mpal.h @@ -417,7 +417,7 @@ MpalHandle mpalQueryHANDLE(uint16 wQueryType, ...); * @remarks This is the specialised version of the original single mpalQuery * method that needs to run within a co-routine context. */ -void mpalQueryCORO(CORO_PARAM, uint16 wQueryType, uint32 *dwRet, ...); +void mpalQueryCORO(CORO_PARAM, uint16 wQueryType, uint32 *dwRet); /** * Execute a script. The script runs on multitasking by a thread. -- cgit v1.2.3