projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9d8a6
)
mesa: remove dead code in _mesa_error
author
Keith Whitwell
<keithw@vmware.com>
Tue, 14 Jul 2009 15:25:59 +0000
(16:25 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 15 Jul 2009 12:31:51 +0000
(13:31 +0100)
Remove early and unused snprintf and where[] string.
src/mesa/main/imports.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.c
b/src/mesa/main/imports.c
index b0e7d9d4835bf59b195589d9f6e959663f30c990..c35dcf5bd2424a0839c6b9ff18a053acbca76013 100644
(file)
--- a/
src/mesa/main/imports.c
+++ b/
src/mesa/main/imports.c
@@
-1102,14
+1102,8
@@
_mesa_error( GLcontext *ctx, GLenum error, const char *fmtString, ... )
}
if (debug) {
- va_list args;
- char where[MAXSTRING];
const char *errstr;
- va_start( args, fmtString );
- vsnprintf( where, MAXSTRING, fmtString, args );
- va_end( args );
-
switch (error) {
case GL_NO_ERROR:
errstr = "GL_NO_ERROR";