remove unused match variables in selector
Merge pull request #10014 from vipulnsward/remove_unused_match_var

remove unused match variables in selector