Yeah, we should add MAYBE_UNUSED to avoid compiler warnings. Not a big deal though.

On 10/09/2017 02:12 PM, Dieter Nützel wrote:
Hello,

not that I have any app which need Vulkan currently (hint, hint any game for 'testing'), but...

   CC       radv_meta_blit.lo
radv_cmd_buffer.c: In function ‘radv_CmdSetViewport’:
radv_cmd_buffer.c:2496:17: warning: unused variable ‘total_count’ [-Wunused-variable]
   const uint32_t total_count = firstViewport + viewportCount;
                  ^~~~~~~~~~~
radv_cmd_buffer.c: In function ‘radv_CmdSetScissor’:
radv_cmd_buffer.c:2514:17: warning: unused variable ‘total_count’ [-Wunused-variable]
   const uint32_t total_count = firstScissor + scissorCount;

Thanks,
Dieter
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to