Remove some dead stores pointed out by clang.

Change-Id: I919a2e98474fec42861391d11d2ba1225eb2adf9
Reviewed-on: http://codereview.qt.nokia.com/4083
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-01 15:33:48 +02:00
parent 85482ff549
commit cf96bc10d2
4 changed files with 2 additions and 19 deletions

View File

@@ -2111,10 +2111,6 @@ bool Bind::visit(ParameterDeclarationAST *ast)
// unsigned equal_token = ast->equal_token;
ExpressionTy expression = this->expression(ast->expression);
unsigned sourceLocation = ast->firstToken();
if (declaratorId)
sourceLocation = declaratorId->firstToken();
const Name *argName = 0;
if (declaratorId && declaratorId->name)
argName = declaratorId->name->name;