remove pointless variables

Change-Id: Ia4cd2292bdea49c198ee1429ab4d3f87697c3ed1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
bb10
Oswald Buddenhagen 2013-06-18 14:50:00 +02:00 committed by The Qt Project
parent 6e2d7a612b
commit 9f681e7a50
1 changed files with 1 additions and 5 deletions

View File

@ -3958,15 +3958,11 @@ void Configure::generateMakefiles()
QString pwd = QDir::currentPath();
{
QString dirName;
bool generate = true;
bool doDsp = (dictionary["VCPROJFILES"] == "yes"
&& dictionary["PROCESS"] == "full");
while (generate) {
QString pwd = QDir::currentPath();
QString dirPath = buildPath + dirName;
QStringList args;
args << buildPath + "/bin/qmake";
if (doDsp) {
@ -3985,7 +3981,7 @@ void Configure::generateMakefiles()
args << "-o";
args << buildPath;
QDir::setCurrent(dirPath);
QDir::setCurrent(buildPath);
if (int exitCode = Environment::execute(args, QStringList(), QStringList())) {
cout << "Qmake failed, return code " << exitCode << endl << endl;
dictionary[ "DONE" ] = "error";