From 55ed021ed47f966032302f1907f14b9568ebbae0 Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Tue, 17 Jan 2012 11:02:43 -0800 Subject: [PATCH] Fixed unused variable warning in WaypointList.cc --- src/ui/WaypointList.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/WaypointList.cc b/src/ui/WaypointList.cc index eb59d361b..842a9ba8d 100644 --- a/src/ui/WaypointList.cc +++ b/src/ui/WaypointList.cc @@ -194,7 +194,7 @@ void WaypointList::loadWaypoints() msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost."); msgBox.setStandardButtons(QMessageBox::Ok); msgBox.setDefaultButton(QMessageBox::Ok); - int ret = msgBox.exec(); + msgBox.exec(); showOfflineWarning = false; } QString fileName = QFileDialog::getOpenFileName(this, tr("Load File"), ".", tr("Waypoint File (*.txt)")); @@ -260,7 +260,7 @@ void WaypointList::addEditable() msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost."); msgBox.setStandardButtons(QMessageBox::Ok); msgBox.setDefaultButton(QMessageBox::Ok); - int ret = msgBox.exec(); + msgBox.exec(); showOfflineWarning = false; } } -- 2.22.0