drop variable assignment in validations
Merge pull request #9945 from vipulnsward/drop_var_in_validations

Drop variable assignment in validations