tool_getparam: Removed "dead assignment" code introduced in commit 1a9b58fc