fix va_end call
parent
6f828087f9
commit
e2401c8b58
|
@ -67,7 +67,7 @@ int ioprintf( IOStream * io, const char * format, ... )
|
|||
va_start( va, format );
|
||||
int nSize = vsnprintf( sz, 4096, format, va );
|
||||
ai_assert( nSize < 4096 );
|
||||
va_end( format );
|
||||
va_end( va );
|
||||
|
||||
io->Write( sz, sizeof(char), nSize );
|
||||
|
||||
|
|
Loading…
Reference in New Issue