Mesa (master): mesa: remove trailing whitespace in errors.c

Brian Paul brianp at kemper.freedesktop.org
Sun Nov 20 13:42:14 UTC 2016


Module: Mesa
Branch: master
Commit: 0d1e240a4ff674f97e3a1cab05c80385d04618da
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d1e240a4ff674f97e3a1cab05c80385d04618da

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Nov 18 14:19:13 2016 -0700

mesa: remove trailing whitespace in errors.c

Reviewed-by: Vinson Lee <vlee at freedesktop.org>

---

 src/mesa/main/errors.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c
index 9932b4a..654343d 100644
--- a/src/mesa/main/errors.c
+++ b/src/mesa/main/errors.c
@@ -122,7 +122,7 @@ flush_delayed_errors( struct gl_context *ctx )
    char s[MAX_DEBUG_MESSAGE_LENGTH];
 
    if (ctx->ErrorDebugCount) {
-      _mesa_snprintf(s, MAX_DEBUG_MESSAGE_LENGTH, "%d similar %s errors", 
+      _mesa_snprintf(s, MAX_DEBUG_MESSAGE_LENGTH, "%d similar %s errors",
                      ctx->ErrorDebugCount,
                      _mesa_enum_to_string(ctx->ErrorValue));
 
@@ -145,10 +145,10 @@ _mesa_warning( struct gl_context *ctx, const char *fmtString, ... )
 {
    char str[MAX_DEBUG_MESSAGE_LENGTH];
    va_list args;
-   va_start( args, fmtString );  
+   va_start( args, fmtString );
    (void) _mesa_vsnprintf( str, MAX_DEBUG_MESSAGE_LENGTH, fmtString, args );
    va_end( args );
-   
+
    if (ctx)
       flush_delayed_errors( ctx );
 
@@ -175,7 +175,7 @@ _mesa_problem( const struct gl_context *ctx, const char *fmtString, ... )
    if (numCalls < 50) {
       numCalls++;
 
-      va_start( args, fmtString );  
+      va_start( args, fmtString );
       _mesa_vsnprintf( str, MAX_DEBUG_MESSAGE_LENGTH, fmtString, args );
       va_end( args );
       fprintf(stderr, "Mesa %s implementation error: %s\n",
@@ -264,7 +264,7 @@ _mesa_gl_debug(struct gl_context *ctx,
  * If debugging is enabled (either at compile-time via the DEBUG macro, or
  * run-time via the MESA_DEBUG environment variable), report the error with
  * _mesa_debug().
- * 
+ *
  * \param ctx the GL context.
  * \param error the error value.
  * \param fmtString printf() style format string, followed by optional args
@@ -346,7 +346,7 @@ _mesa_error_no_memory(const char *caller)
 /**
  * Report debug information.  Print error message to stderr via fprintf().
  * No-op if DEBUG mode not enabled.
- * 
+ *
  * \param ctx GL context.
  * \param fmtString printf()-style format string, followed by optional args.
  */




More information about the mesa-commit mailing list