intel: initialize fs_visitor::params_remap in constructor
authorFrank Henigman <fjhenigman@google.com>
Tue, 29 Jan 2013 01:06:59 +0000 (20:06 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 30 May 2013 00:37:35 +0000 (10:37 +1000)
commit02fe736cc0e6866daa50aaae1ed7b977522eaf65
treefc1b72f819b2e09b488b8e9ce6b0bfbe6adab16b
parent83aaf61e24d43e5b7ddd07b16aa4d4b460c0b2a9
intel: initialize fs_visitor::params_remap in constructor

Set fs_visitor::params_remap to NULL in the constructor.
This variable was potentially tested in fs_visitor::remove_dead_constants()
before being set.

NOTE: This is a candidate for stable release branches.

Signed-off-by: Frank Henigman <fjhenigman@google.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp