[Mesa-dev] [PATCH 1/3] ptn: Silence unused parameter warning

Kenneth Graunke kenneth at whitecape.org
Thu Mar 31 18:43:41 UTC 2016


On Wednesday, March 30, 2016 4:23:30 PM PDT Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> The KIL instruction doesn't have a destination, so ptn_kil never uses
> dest.
> 
> program/prog_to_nir.c: In function ‘ptn_kil’:
> program/prog_to_nir.c:547:38: warning: unused parameter ‘dest’ [-Wunused-
parameter]
>  ptn_kil(nir_builder *b, nir_alu_dest dest, nir_ssa_def **src)
>                                       ^
> 
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

Series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160331/91fab548/attachment.sig>


More information about the mesa-dev mailing list