projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
841c901
)
move va_end() call (Evgeny Kotsuba)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 15 Dec 2005 15:23:54 +0000
(15:23 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 15 Dec 2005 15:23:54 +0000
(15:23 +0000)
src/mesa/main/imports.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.c
b/src/mesa/main/imports.c
index 97d7d57bd280eae25c660a5f8198d2d48a7cbef0..bf1556fe6f816b834b5464c717e9b6681f636335 100644
(file)
--- a/
src/mesa/main/imports.c
+++ b/
src/mesa/main/imports.c
@@
-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;
}