mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
move va_end() call (Evgeny Kotsuba)
This commit is contained in:
parent
841c9018b1
commit
924fb5e916
1 changed files with 1 additions and 1 deletions
|
|
@ -889,12 +889,12 @@ _mesa_sprintf( char *str, const char *fmt, ... )
|
|||
int r;
|
||||
va_list args;
|
||||
va_start( args, fmt );
|
||||
va_end( args );
|
||||
#if defined(XFree86LOADER) && defined(IN_MODULE)
|
||||
r = xf86vsprintf( str, fmt, args );
|
||||
#else
|
||||
r = vsprintf( str, fmt, args );
|
||||
#endif
|
||||
va_end( args );
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue