mesa: Silence unused parameter warning
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 19 Nov 2019 03:42:22 +0000 (19:42 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 4 Dec 2019 23:34:03 +0000 (15:34 -0800)
commit78409856094d58907915406ce87d385a8012eed6
treea5c9f3a66e3582f69c6989deb83b2bc776b79573
parenta7e607641a2b6f1d89e1c5e6eaf91d6faf156286
mesa: Silence unused parameter warning

Unused since e4da8b9c331 ("mesa/compiler: rework tear down of
builtin/types").

src/mesa/main/context.c: In function ‘_mesa_free_context_data’:
src/mesa/main/context.c:1321:54: warning: unused parameter ‘destroy_compiler_types’ [-Wunused-parameter]
 1321 | _mesa_free_context_data(struct gl_context *ctx, bool destroy_compiler_types)
      |                                                      ^

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/nouveau/nouveau_context.c
src/mesa/drivers/dri/radeon/radeon_common_context.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_api.c
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/state_tracker/st_context.c