[Mesa-dev] [PATCH 03/19] radv: remove useless MAYBE_UNUSED in CmdBeginRenderPass()

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Jan 29 21:18:48 UTC 2019


Trivial.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/amd/vulkan/radv_cmd_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 5ecaf829cb0..dcd20595eeb 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -3420,7 +3420,7 @@ void radv_CmdBeginRenderPass(
 
 	MAYBE_UNUSED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws,
 							   cmd_buffer->cs, 2048);
-	MAYBE_UNUSED VkResult result;
+	VkResult result;
 
 	cmd_buffer->state.framebuffer = framebuffer;
 	cmd_buffer->state.pass = pass;
-- 
2.20.1



More information about the mesa-dev mailing list