diff options
author | Keith Whitwell <[email protected]> | 2009-07-14 16:25:59 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-07-15 13:31:51 +0100 |
commit | df5f7a676182dc9d1d8c9c995a009b49bac971e8 (patch) | |
tree | c7b8209a9263c3d658752ee160ef95fef7cfe33e /src | |
parent | 6c9d8a6f24db3c947928d72521d5fd544841366e (diff) |
mesa: remove dead code in _mesa_error
Remove early and unused snprintf and where[] string.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/imports.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index b0e7d9d4835..c35dcf5bd24 100644 --- 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"; |