Remove dead store.
authorRoy Marples <roy@marples.name>
Fri, 21 Nov 2014 20:40:18 +0000 (20:40 +0000)
committerRoy Marples <roy@marples.name>
Fri, 21 Nov 2014 20:40:18 +0000 (20:40 +0000)
src/dhcpcd-qt/dhcpcd-wi.cpp

index 5bb0ac28ff044cae1774c06edc903d4aa9408d00..f2c3fd3050650a7d115faefa5fb36d18affe809a 100644 (file)
@@ -94,7 +94,6 @@ bool DhcpcdWi::setScans(DHCPCD_WI_SCAN *scans)
 
                for (scan = scans; scan; scan = scan->next) {
                        bool found = false;
 
                for (scan = scans; scan; scan = scan->next) {
                        bool found = false;
-                       int position = 0;
                        QAction *before = NULL;
 
                        lst = menu->findChildren<DhcpcdSsidMenu*>();
                        QAction *before = NULL;
 
                        lst = menu->findChildren<DhcpcdSsidMenu*>();