[Mesa-dev] [PATCH mesa] genxml: fix assert guards

Kenneth Graunke kenneth at whitecape.org
Wed Nov 22 18:04:29 UTC 2017


On Wednesday, November 22, 2017 3:11:22 AM PST Eric Engestrom wrote:
> This removes a few hundred warnings on debug builds with asserts off.
> 
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
>  src/intel/genxml/gen_pack_header.py | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

#ifndef NDEBUG is the right thing to use for guarding asserts.

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


More information about the mesa-dev mailing list