From 202f08dc097d7d195c822e819393b0cc3a8f919b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 20 Jul 2012 15:04:39 +0200 Subject: remove apparently useless code 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 Reviewed-by: Joerg Bornemann --- qmake/generators/win32/winmakefile.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp index 17563043b6..a3c11f1397 100644 --- a/qmake/generators/win32/winmakefile.cpp +++ b/qmake/generators/win32/winmakefile.cpp @@ -221,7 +221,6 @@ Win32MakefileGenerator::processPrlFiles() QList 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; } } -- cgit v1.2.3