remove apparently useless code
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 20 Jul 2012 13:04:39 +0000 (15:04 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 31 Jul 2012 09:17:34 +0000 (11:17 +0200)
it wouldn't actually *do* anything, as l is not a reference. i cannot
figure out the original intention, so let's just drop it.

Change-Id: Ic0a3457a1872cde827259ee5530959120456e934
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
qmake/generators/win32/winmakefile.cpp

index 1756304..a3c11f1 100644 (file)
@@ -221,7 +221,6 @@ Win32MakefileGenerator::processPrlFiles()
     QList<QMakeLocalFileName> libdirs;
     for(bool ret = false; true; ret = false) {
         //read in any prl files included..
-        QStringList l_out;
         QStringList l = project->values("QMAKE_LIBS");
         for(QStringList::Iterator it = l.begin(); it != l.end(); ++it) {
             QString opt = (*it).trimmed();
@@ -255,12 +254,8 @@ Win32MakefileGenerator::processPrlFiles()
                     }
                 }
             }
-            if(!opt.isEmpty())
-                l_out.append(opt);
         }
-        if(ret)
-            l = l_out;
-        else
+        if (!ret)
             break;
     }
 }