REFACTOR: removes various assignments and superfluous params (PR #9699)

GitHub

This pull request fixes 6 alerts when merging a3ee82cf461e3ba1c12527f9be493b0094b1767d into d8d54a92f15782bb906d2f0b2c7d5e966b29f819 - view on LGTM.com

fixed alerts:

  • 4 for Useless assignment to local variable
  • 1 for Superfluous trailing arguments
  • 1 for Unused variable, import, function or class