From 0d6a7bafcfe3dcf19ccfe7d1b5863e2b156ee875 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 5 Jul 2016 12:56:33 +0200 Subject: [PATCH] Remove unused variable --- core/device.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/device.cpp b/core/device.cpp index a68682249..bbccb963a 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -113,8 +113,6 @@ void Device::reloadPlugins() if (isTrusted() && isReachable()) { //Do not load any plugin for unpaired devices, nor useless loading them for unreachable devices - KConfigGroup pluginStates = KSharedConfig::openConfig(pluginsConfigFile())->group("Plugins"); - PluginLoader* loader = PluginLoader::instance(); const bool capabilitiesSupported = (m_protocolVersion >= MIN_VERSION_WITH_CAPPABILITIES_SUPPORT);