mapi: Silence many "warning: unused parameter"
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2011 00:27:08 +0000 (17:27 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 27 Aug 2011 06:33:12 +0000 (23:33 -0700)
commitf40c291ed637a916414d1367de379a0980488b4b
tree59f033f20bdd7c2e6713dabbedba0a206a9b1ca4
parent5266c87c873057d9d3ecdaf1745d99225a5dc292
mapi: Silence many "warning: unused parameter"

When generating dispatch templates, emit the '(void) blah;' magic to
make GCC happy.  This reduces a lot of warning spam if you build with
-Wunused-parameter or -Wextra.

Reviewed-by: Chia-I Wu <olv@lunarg.com>
src/mapi/glapi/gen/gl_apitemp.py
src/mapi/mapi/mapi_abi.py