title: Field is never assigned to and will always have its default value 0
body: <p>I get the following error in my code and I'm not sure why:</p>
  
  <p>Warning - <code>'SummaryForm.m_difficulty' is never assigned to, and will always have its default value 0</code></p>
  
  <p>Code</p>
  
  <pre><code>public partial class SummaryForm : Form
  {
      // Declares variables with the values pulled from the 'MainForm'
      int iCorrectACount = MainForm.iCorrectACount;
      int iCurrentQIndex = MainForm.iCurrentQIndex;
  
      private Difficulty m_difficulty;
  
      public SummaryForm()
      {
  
          InitializeComponent();
  
          double modifier = 1.0;
          if (m_difficulty == Difficulty.Easy) { modifier = 1.0; }
          if (m_difficulty == Difficulty.Medium) { modifier = 1.5; }
          if (m_difficulty == Difficulty.Hard) { modifier = 2; }
  
          // Sets the labels using integer values
          lblCorrectNum.Text = iCorrectACount.ToString();
          lblWrongNum.Text = (iCurrentQIndex - iCorrectACount).ToString();
          lblScoreTotal.Text = (iCorrectACount * modifier).ToString();
      }
  </code></pre>
  
  <p>Maybe this has something to do with why <code>lblScoreTotal.Text</code> will not change to the value * modifier but will on another form?</p>
  
  <p>The reason I asked this question here is because someone advised me to disable warning messages but I didn't think that was the appropriate solution?</p>
  
  <p>Thanks.</p>