diff options
author | Rhys Kidd <[email protected]> | 2017-12-02 12:56:26 -0500 |
---|---|---|
committer | Rhys Kidd <[email protected]> | 2017-12-29 23:04:42 -0500 |
commit | 540d829d383742b9aa0d4394366d09adde31c9b5 (patch) | |
tree | 9f93a42a3a4ea8a0b39de0c537f9d63b54752217 /src/gallium | |
parent | 878bc4a5ae6215a5d84c3e3a5c9575ccd1ae27e2 (diff) |
nv50: Fix unused var warning in release build
Reviewed-by: Pierre Moreau <[email protected]>
Signed-off-by: Rhys Kidd <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv98_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv98_video.c b/src/gallium/drivers/nouveau/nv50/nv98_video.c index 92526d9f643..da0267e646a 100644 --- a/src/gallium/drivers/nouveau/nv50/nv98_video.c +++ b/src/gallium/drivers/nouveau/nv50/nv98_video.c @@ -40,7 +40,8 @@ nv98_decoder_decode_bitstream(struct pipe_video_codec *decoder, uint32_t comm_seq = ++dec->fence_seq; union pipe_desc desc; - unsigned vp_caps, is_ref, ret; + unsigned vp_caps, is_ref; + MAYBE_UNUSED unsigned ret; /* used in debug checks */ struct nouveau_vp3_video_buffer *refs[16] = {}; desc.base = picture; |