title: Variable 'x' is declared but never used error
body: <p>Ok, so I have this nifty bit of code from Microsoft, and I have  a little hiccup that I want to get rid of.</p>
  
  <p>The original code prints out the ChangeConflictException x on the console, but I erased this line.  Now, every time I use this bit of code, I get the error: "Variable 'x' is declared but never used".</p>
  
  <p>What is the most efficient way to get rid of this error while retaining the functionality of the code?</p>
  
  <pre><code>//See http://msdn.microsoft.com/en-us/library/bb386918.aspx
  try
  {
      DB.SubmitChanges(ConflictMode.ContinueOnConflict);
  }
  
  catch (ChangeConflictException x)
  {
      foreach (ObjectChangeConflict occ in DB.ChangeConflicts)
      {
          occ.Resolve(RefreshMode.KeepChanges);
      }
  }
  // Submit succeeds on second try.
  DB.SubmitChanges(ConflictMode.FailOnFirstConflict);
  </code></pre>