diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:54 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:57 -0700 |
commit | 4bdad3d98ccf6a408fd0d13224c22e07c81a87ae (patch) | |
tree | a5ff89330dd96e37d3823553418af40e9e822b19 /src/gallium/auxiliary/util | |
parent | 2049c635ee78b7c5d48cb6821b23eccbd1f475eb (diff) |
gallium/aux/util/u_debug_refcnt.h: Fix -Wunused-param warnings
Annotate the according parameters accordingly.
v2: move UNUSED decoration in front of parameter declaration
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug_refcnt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_refcnt.h b/src/gallium/auxiliary/util/u_debug_refcnt.h index cf047776661..e1b4adbaf73 100644 --- a/src/gallium/auxiliary/util/u_debug_refcnt.h +++ b/src/gallium/auxiliary/util/u_debug_refcnt.h @@ -55,8 +55,8 @@ debug_reference(const struct pipe_reference* p, #else static inline void -debug_reference(const struct pipe_reference* p, - debug_reference_descriptor get_desc, int change) +debug_reference(UNUSED const struct pipe_reference* p, + UNUSED debug_reference_descriptor get_desc, UNUSED int change) { } |