glsl: fix new gcc6 warnings
authorRob Clark <robdclark@gmail.com>
Tue, 16 Feb 2016 18:31:27 +0000 (13:31 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 18 Feb 2016 22:10:55 +0000 (17:10 -0500)
commitb01575ec9992783213832c4f6473e6d607a0b40b
treecd6f9868866bf32bd4618911e68473301ce37872
parente93caca071570193c1d9e0c3c62561680b06dcbb
glsl: fix new gcc6 warnings

src/compiler/glsl/lower_discard_flow.cpp:79:1: warning: ‘ir_visitor_status {anonymous}::lower_discard_flow_visitor::visit_enter(ir_loop_jump*)’ defined but not used [-Wunused-function]
 lower_discard_flow_visitor::visit_enter(ir_loop_jump *ir)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~

The base class method that was intended to be overridden was
'visit(ir_loop_jump *ir)', not visit_enter().

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/lower_discard_flow.cpp