Mesa (master): mesa: Silence several 'warning: unused parameter' in _mesa_GetnUniformdvARB

Ian Romanick idr at kemper.freedesktop.org
Fri Oct 7 16:41:06 PDT 2011


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

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep  7 12:39:47 2011 -0700

mesa: Silence several 'warning: unused parameter' in _mesa_GetnUniformdvARB

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>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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);
    */



More information about the mesa-commit mailing list