title: "Variable set but not used" error - How to solve?
body: <p>I get this error, the error is just not for 'stringsix" but for all the declared variables : </p>
  
  <pre><code>assignment42.c:22:9: warning: variable ‘stringSix’ set but not used [-Wunused-but-set-variable]
  </code></pre>
  
  <p>I just want to pass it from main to functions. I face this problem many times, could someone please tell me an easy to avoid this problem. </p>
  
  <pre><code>int main()
  {
  char ** listofdetails;
  char ** stringOne;
  char ** stringTwo;
  char ** stringThree;
  char ** stringFour;
  char ** stringFive;
  char ** stringSix;
  
  listofdetails = lineParse();    
  printf("%s \n", listofdetails[2]);
  stringOne = seperateString1(listofdetails);
  stringTwo = seperateString2(listofdetails);
  stringThree = seperateString3(listofdetails);
  stringFour = seperateString4(listofdetails);
  stringFive = seperateString5(listofdetails);
  stringSix = seperateString6(listofdetails);
  getchar();
  return 0;
  }
  </code></pre>
  
  <p></p>