title: Explicitly dereferencing a pointer in C++
body: <p>I am actually working on some changes to my application and klocwork keeps complaining me about one issue:</p>
  
  <p>I have a struct, say</p>
  
  <pre><code>Struct A
  {
    long x;
    bool b;
  }
  </code></pre>
  
  <p>I have a pointer and it is assigned a return value from another function:</p>
  
  <pre><code>A* z= (A*) function.get();
  
  if(!z-&gt;x)
  {
    z-&gt;x= somevalue;
  }
  </code></pre>
  
  <p>The klocwork keeps pointing to <code>if(!z-&gt;x)</code>, saying that z is explicitly dereferenced.</p>
  
  <p>Although my application works fine now, will it affect my application in a drastic way in future? </p>