venus: silence compiler warnings

Silence warnings in release builds.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11166>
This commit is contained in:
Chia-I Wu
2021-06-03 09:10:36 -07:00
committed by Marge Bot
parent a8e75bb73c
commit 551d7032df
6 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ vn_cmd_begin_render_pass(struct vn_command_buffer *cmd,
/* find fb attachments */
const VkImageView *views;
uint32_t view_count;
ASSERTED uint32_t view_count;
if (fb->image_view_count) {
views = fb->image_views;
view_count = fb->image_view_count;