Stop using va_argsave now that va_start works correctly without it

This commit is contained in:
Daniel Murphy 2015-01-27 16:17:24 +11:00
parent 271f44e5da
commit 1d2a706f4a
2 changed files with 2 additions and 8 deletions

View file

@ -313,10 +313,7 @@ class OutBuffer
void printf(string format, ...) @trusted
{
va_list ap;
static if (is(typeof(__va_argsave)))
va_start(ap, __va_argsave);
else
va_start(ap, format);
va_start(ap, format);
vprintf(format, ap);
va_end(ap);
}