summaryrefslogtreecommitdiffstats
path: root/qmake/qpopen.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-04 08:48:18 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-04 08:48:18 (GMT)
commitc58ad73ee53374a96dc67b8bf554f14cf718be2a (patch)
treeccc89d3a22c1554877dc39a29c1e13a8d5c99e2b /qmake/qpopen.cpp
parent95812dd991bdcc63c9a4c10d4cf32811aa0c413b (diff)
downloadQt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.zip
Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.tar.gz
Qt-c58ad73ee53374a96dc67b8bf554f14cf718be2a.tar.bz2
Whitespace, comment, and dead code cleanup for qmake
Diffstat (limited to 'qmake/qpopen.cpp')
-rw-r--r--qmake/qpopen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qmake/qpopen.cpp b/qmake/qpopen.cpp
index ebde035..7acff92 100644
--- a/qmake/qpopen.cpp
+++ b/qmake/qpopen.cpp
@@ -69,7 +69,6 @@ bool QPopen::init(const char *command, const char* /* mode */)
// Ensure that the write handle to the child process's pipe for STDIN is not inherited.
SetHandleInformation( childStdInW, HANDLE_FLAG_INHERIT, 0);
- //TCHAR szCmdline[strlen(command)]=TEXT(command);
TCHAR *szCmdLine = new TCHAR[strlen(command)+1];
strcpy(szCmdLine, command);
@@ -126,7 +125,6 @@ int QPopen::fwrite(char* buffer, int maxBytes)
return 0;
}
-
int QPopen::fread(char* buffer, int maxBytes)
{
DWORD bytesRead;
@@ -140,4 +138,3 @@ int QPopen::fread(char* buffer, int maxBytes)
return 0;
}
-