title: Why cppcheck tool does not find uninitialized variable?
body: <p>I run commad (Ubuntu 12.04)</p>
  
  <pre><code>cppcheck test.cpp
  </code></pre>
  
  <p>I am expecting uninitialized variable warning from cppcheck tool.
  Why cppcheck tool does not print it on the command line?</p>
  
  <p>Example cpp code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  class Foo
  {
  private:
      int m_nValue;
  
  public:
      Foo();
      int GetValue() { return m_nValue; }
  };
  
  Foo::Foo()
  {
      // Oops, we forget to initialize m_nValue
  }
  
  int main()
  {
      Foo cFoo;
      if (cFoo.GetValue() &gt; 0)
      {//...
      }
      else
      {//...
      }
  }
  </code></pre>