[Mesa-dev] [PATCH 14/20] dri: Silence several "warning: unused parameter"

Ian Romanick idr at freedesktop.org
Mon Aug 29 14:59:04 PDT 2011


From: Ian Romanick <ian.d.romanick at intel.com>

---
 src/mesa/drivers/dri/common/depthtmp.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/common/depthtmp.h b/src/mesa/drivers/dri/common/depthtmp.h
index 81bec9c..c6e2bb7 100644
--- a/src/mesa/drivers/dri/common/depthtmp.h
+++ b/src/mesa/drivers/dri/common/depthtmp.h
@@ -66,6 +66,8 @@ static void TAG(WriteDepthSpan)( struct gl_context *ctx,
 #endif
       }
    HW_WRITE_UNLOCK();
+
+   (void) ctx;
 }
 
 
@@ -120,6 +122,8 @@ static void TAG(WriteMonoDepthSpan)( struct gl_context *ctx,
 	 HW_ENDCLIPLOOP();
       }
    HW_WRITE_UNLOCK();
+
+   (void) ctx;
 }
 #endif
 
@@ -168,6 +172,8 @@ static void TAG(WriteDepthPixels)( struct gl_context *ctx,
 #endif
       }
    HW_WRITE_UNLOCK();
+
+   (void) ctx;
 }
 
 
@@ -238,6 +244,8 @@ static void TAG(ReadDepthPixels)( struct gl_context *ctx,
 #endif
       }
    HW_READ_UNLOCK();
+
+   (void) ctx;
 }
 
 
-- 
1.7.4.4



More information about the mesa-dev mailing list