nir: fix unused variable warning in nir_lower_vars_to_explicit_types
authorKai Wasserbäch <kai@dev.carbon-project.org>
Sat, 28 Sep 2019 16:50:03 +0000 (18:50 +0200)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 7 Nov 2019 00:32:55 +0000 (11:32 +1100)
commit8aa4d0bff65de73a712063bb8b3853919300f925
treeb0322010f84edd871db1f545e4cc32796feeabab
parent5a40e153fd7df58a6419cf2e6211828d7d31cf4e
nir: fix unused variable warning in nir_lower_vars_to_explicit_types

This commit fixes the following warning:
../src/compiler/nir/nir_lower_io.c: In function ‘nir_lower_vars_to_explicit_types’:
../src/compiler/nir/nir_lower_io.c:1435:22: warning: unused variable ‘supported’ [-Wunused-variable]
 1435 |    nir_variable_mode supported = nir_var_mem_shared | nir_var_shader_temp | nir_var_function_temp;
      |                      ^~~~~~~~~

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_io.c