Mesa (mesa_7_7_branch): sis: ifdef out unused variable.

Vinson Lee vlee at kemper.freedesktop.org
Sun Jan 3 04:48:15 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 94c5faad26eae7bb4b95d6c95548860ff52354ba
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94c5faad26eae7bb4b95d6c95548860ff52354ba

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Jan  2 20:47:15 2010 -0800

sis: ifdef out unused variable.

Silences GCC warning.

---

 src/mesa/drivers/dri/sis/sis_context.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/sis/sis_context.c b/src/mesa/drivers/dri/sis/sis_context.c
index f501e7a..346e8c5 100644
--- a/src/mesa/drivers/dri/sis/sis_context.c
+++ b/src/mesa/drivers/dri/sis/sis_context.c
@@ -83,6 +83,7 @@ static struct dri_extension card_extensions[] =
     { NULL,                                NULL }
 };
 
+#if 0
 static struct dri_extension card_extensions_6326[] =
 {
     /*{ "GL_ARB_texture_border_clamp",       NULL },*/
@@ -90,6 +91,7 @@ static struct dri_extension card_extensions_6326[] =
     /*{ "GL_MESA_ycbcr_texture",             NULL },*/
     { NULL,                                NULL }
 };
+#endif
 
 static const struct dri_debug_control debug_control[] =
 {




More information about the mesa-commit mailing list