remove unused variables
Merge pull request #1300 from ruil2/mvcost_check_1

remove unused variables