title: Valgrind "Conditional jump or move depends on uninitialised value(s)" Error
body: <p>I am getting many errors with valgrind saying "Conditional jump or move depends on uninitialized value(s)".</p>
  
  <p>Below is the one of the blocks. All of them are similar:</p>
  
  <pre><code>vasm_sourceline_info_t* line = asmState-&gt;firstLine;
  if (line == NULL) return;
  while ((line = line-&gt;next) != NULL)
  {
     printf ("[%s(%i)] %s\n", line-&gt;fileName, line-&gt;lineNumber, line-&gt;data);
  }
  </code></pre>
  
  <p>The error itself is on the while() line. <code>vasm_sourceline_info</code> is a doubly linked list structure. The code ~works~ but this error is worrying. Is there something else in code stomping on memory, or is the above function flawed in some way?</p>