From e7b87f3360f57b7069408b79711cb1d4184becd7 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Tue, 1 Dec 2015 21:52:03 -0500 Subject: [PATCH] Fixing unused variable in Release builds. --- src/comm/LinkManager.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/comm/LinkManager.cc b/src/comm/LinkManager.cc index 3307e14a6..4b6ee1fa4 100644 --- a/src/comm/LinkManager.cc +++ b/src/comm/LinkManager.cc @@ -326,7 +326,9 @@ void LinkManager::saveLinkConfigurationList() void LinkManager::loadLinkConfigurationList() { bool linksChanged = false; +#ifdef QT_DEBUG bool mockPresent = false; +#endif QSettings settings; // Is the group even there? if(settings.contains(LinkConfiguration::settingsRoot() + "/count")) { -- 2.22.0