From dcd8bb2181db616ee4b85d157e05f855da7c9616 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Mon, 2 Jan 2012 09:16:25 +0100
Subject: [PATCH] Analyzer: Remove unused variable

Change-Id: I13ec1838110a3c8b64f07e141e522d64132eb002
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/analyzerbase/analyzermanager.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/plugins/analyzerbase/analyzermanager.cpp b/src/plugins/analyzerbase/analyzermanager.cpp
index a994fd2f065..017933538f4 100644
--- a/src/plugins/analyzerbase/analyzermanager.cpp
+++ b/src/plugins/analyzerbase/analyzermanager.cpp
@@ -505,11 +505,9 @@ void AnalyzerManagerPrivate::startLocalTool(IAnalyzerTool *tool)
 
     // ### not sure if we're supposed to check if the RunConFiguration isEnabled
     Project *pro = pe->startupProject();
-    const RunConfiguration *runConfig = 0;
     BuildConfiguration::BuildType buildType = BuildConfiguration::Unknown;
     if (pro) {
         if (const Target *target = pro->activeTarget()) {
-            runConfig = target->activeRunConfiguration();
             // Build configuration is 0 for QML projects.
             if (const BuildConfiguration *buildConfig = target->activeBuildConfiguration())
                 buildType = buildConfig->buildType();
-- 
GitLab