The local variable xxx is never read
<p>This is my code:</p>

<pre><code>boolean startGameBoolean;
Bundle extras = getIntent().getExtras();
extras.getInt("startGameBoolean");
if (startGameBoolean = true){
    counter.start();
}
</code></pre>

<p>Eclipse gives a warning that "The local variable startGameBoolean is never read"; but it is.
I get the boolean from an another intent.</p>

<p><strong>I edited my code, I missed some of it, sorry!</strong></p>
