i915, i965: Silence unused parameter warnings in intel_batchbuffer_advance
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 22:44:04 +0000 (15:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Sep 2015 03:29:51 +0000 (20:29 -0700)
commit86c0a2d57413f04fabd40fd09d87b0ff9d1cb092
treeb71769ac187291dfcc53247c4ccf61e18711b27f
parent307d5e58496a73bace8c89dbdbba91be171b7c95
i915, i965: Silence unused parameter warnings in intel_batchbuffer_advance

These only occurred in release builds, but they occurred in every file
that included intel_batchbuffer.h.  Lots of spam. :(

intel_batchbuffer.h: In function 'intel_batchbuffer_advance':
intel_batchbuffer.h:153:47: warning: unused parameter 'brw' [-Wunused-parameter]
 intel_batchbuffer_advance(struct brw_context *brw)
                                               ^

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i915/intel_batchbuffer.h
src/mesa/drivers/dri/i965/intel_batchbuffer.h