remove unused variable and assignment
Merge pull request #10015 from vipulnsward/remove_unused_variable_in_get

remove unused variable and assignment