Browse Source

Fix unused variable warning

QGC4.4
Don Gagne 10 years ago
parent
commit
fbe79303f4
  1. 1
      src/ui/MainWindow.cc

1
src/ui/MainWindow.cc

@ -796,6 +796,7 @@ void MainWindow::closeEvent(QCloseEvent *event) @@ -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());
}

Loading…
Cancel
Save