This is my code:
boolean startGameBoolean;
Bundle extras = getIntent().getExtras();
extras.getInt(\"startGameBoolean\");
if (startGameBoolean = true){
counte
I would venture to agree with Eclipse, it's not being used. The code you've show us doesn't have it being used anywhere.
Update
The variable is still never used because you assign it in your if
condition; you never compare it (which is what it looks like you're trying to do).
Change
if (startGameBoolean = true){
to
if (startGameBoolean){