title: In bash, should I unset a local variable inside a function?
body: <p>Should I unset my local variables at the end of a function in a bash script? 
  As an example, the following function:</p>
  
  <pre><code>square()
  {
    local var=$1
    (( var = var * var ))
    echo $var
    ## should I unset $var here??
  }
  </code></pre>
  
  <p>Just curious about best practices, thanks!</p>