diff options
author | Ian Romanick <[email protected]> | 2016-06-13 13:45:00 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-06-20 11:18:38 -0700 |
commit | 08cd234db826eb66ebf186435cb3709613c69c33 (patch) | |
tree | afcc26ec5ba773132b753c117a99d23672352afc /src/mesa | |
parent | 64180de1bf0ab9afcb4e659daf3132aa5b37638c (diff) |
mesa: Silence unused parameter warning
main/pipelineobj.c: In function ‘delete_pipelineobj_cb’:
main/pipelineobj.c:110:30: warning: unused parameter ‘id’ [-Wunused-parameter]
delete_pipelineobj_cb(GLuint id, void *data, void *userData)
^
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/pipelineobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index 9ecbcc9e9f6..84837525083 100644 --- a/src/mesa/main/pipelineobj.c +++ b/src/mesa/main/pipelineobj.c @@ -107,7 +107,7 @@ _mesa_init_pipeline(struct gl_context *ctx) * Callback for deleting a pipeline object. Called by _mesa_HashDeleteAll(). */ static void -delete_pipelineobj_cb(GLuint id, void *data, void *userData) +delete_pipelineobj_cb(UNUSED GLuint id, void *data, void *userData) { struct gl_pipeline_object *obj = (struct gl_pipeline_object *) data; struct gl_context *ctx = (struct gl_context *) userData; |