nir: fix unused function warning in src/compiler/nir/nir.c
authorKai Wasserbäch <kai@dev.carbon-project.org>
Thu, 3 Oct 2019 20:49:27 +0000 (22:49 +0200)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 7 Nov 2019 00:32:55 +0000 (11:32 +1100)
commitacfea09dbd795fdf42cb5543a922e0cb90aa4969
tree557e7546312bdef09ae1d1404902db5b64dcb717
parent4f8cc032b71630e3a92b3e5de875e2126cc93fab
nir: fix unused function warning in src/compiler/nir/nir.c

This commit fixes the following warning:
../src/compiler/nir/nir.c:1827:1: warning: ‘dest_is_ssa’ defined but not used [-Wunused-function]
 1827 | dest_is_ssa(nir_dest *dest, void *_state)
      | ^~~~~~~~~~~

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