nir: Silence unused "options" warning in algebraic passes.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Apr 2016 22:03:39 +0000 (15:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Apr 2016 01:44:08 +0000 (18:44 -0700)
commit808d26c771541603544444ad5d8794e37e37e379
treebe094acaccca131c4304f63773bba19f90c5730a
parent5886cd79a0ed10b887840f6afb980a5a6a47e26e
nir: Silence unused "options" warning in algebraic passes.

Some passes may not refer to options->..., at which point the compiler
will warn about an unused variable.  Just cast to void unconditionally
to shut it up.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir_algebraic.py