title: Is it necessary to assign null to a temp string value after using it?
body: <p>Say I have a snippet of code like this:</p>
  
  <pre><code>else if (array[z] == 1){
                  string buf = string("00010");
                  barzip += buf;
                  string buf = string(NULL);
  
              }
  </code></pre>
  
  <p>Is it redundant to assign NULL to buf since I am going to reuse the string variable in the next <code>else if</code> statement? Thanks!</p>