Mesa (master): glx: reformat and silence unused expression warning

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 2 15:04:18 PDT 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun  2 16:03:22 2010 -0600

glx: reformat and silence unused expression warning

---

 src/glx/glxext.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 0e148ed..79285ec 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -585,7 +585,8 @@ __glXInitializeVisualConfigFromTags(__GLcontextModes * config, int count,
          break;
 #endif
       case GLX_USE_GL:
-         if (fbconfig_style_tags) *bp++;
+         if (fbconfig_style_tags)
+            bp++;
          break;
       case None:
          i = count;



More information about the mesa-commit mailing list