var="$var"# If the goal is to do nothing
trueShellCheck found a variable that is assigned to itself, e.g.
x=$x. This obviously has no effect.
Double check what the assignment was supposed to do.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.