[Mesa-dev] [PATCH 8/9] mesa: Silence several 'warning: unused parameter' in _mesa_GetnUniformdvARB

Ian Romanick idr at freedesktop.org
Tue Oct 4 13:44:11 PDT 2011


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

This function isn't implemented yet, so none of its parameters are
used yet.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/mesa/main/uniforms.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 7bdeec7..7252c09 100644
--- a/src/mesa/main/uniforms.c
+++ b/src/mesa/main/uniforms.c
@@ -1443,6 +1443,12 @@ _mesa_GetnUniformdvARB(GLhandleARB program, GLint location,
                         GLsizei bufSize, GLdouble *params)
 {
    GET_CURRENT_CONTEXT(ctx);
+
+   (void) program;
+   (void) location;
+   (void) bufSize;
+   (void) params;
+
    /*
    get_uniform(ctx, program, location, bufSize, GL_DOUBLE, params);
    */
-- 
1.7.6



More information about the mesa-dev mailing list