[Mesa-dev] [PATCH] i965: silence unused var warning in non-debug mode

Ian Romanick idr at freedesktop.org
Wed Oct 30 16:38:41 CET 2013


Please send patches using git-send-email and no other means.  Patches
sent as attachments can't get in-line review comments.  That said...

NAK this patch.  Putting the function call in the assert means that the
function won't get called in non-debug builds.  That will break
everything.  Maybe just add a

    (void) success;

in there to silence the warning.



More information about the mesa-dev mailing list