From 2e9f94c4b98af75b27652c5c1b16cc49f2227681 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Mon, 10 May 2010 10:10:09 +0200
Subject: [PATCH] Removed unused Control.

---
 src/libs/cplusplus/LookupContext.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/libs/cplusplus/LookupContext.cpp b/src/libs/cplusplus/LookupContext.cpp
index dc52d1298c0..1c731efa1a5 100644
--- a/src/libs/cplusplus/LookupContext.cpp
+++ b/src/libs/cplusplus/LookupContext.cpp
@@ -381,8 +381,6 @@ void CreateBindings::lookup_helper(const Name *name, Scope *scope,
         }
 
     } else if (const Identifier *id = name->identifier()) {
-        Control *control = new Control();
-
         for (Symbol *s = scope->lookat(id); s; s = s->next()) {
             if (! s->name())
                 continue;
-- 
GitLab