From fbe79303f420b749c445087089c6af0dbb12788b Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 8 Dec 2014 16:16:58 -0800 Subject: [PATCH] Fix unused variable warning --- src/ui/MainWindow.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index b327d10a6..d43ec0750 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -796,6 +796,7 @@ void MainWindow::closeEvent(QCloseEvent *event) // Should not be any active connections foreach(LinkInterface* link, LinkManager::instance()->getLinks()) { + Q_UNUSED(link); Q_ASSERT(!link->isConnected()); } -- 2.22.0