Commit 6215df2b authored by Joerg Bornemann's avatar Joerg Bornemann Committed by Oswald Buddenhagen

remove superfluous move from process_ctrlc_stub

Change-Id: Id4458dcf29893a007ee85c0ce85a500617f02b6d
Reviewed-on: http://codereview.qt.nokia.com/2946Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 26bc6c4d
......@@ -95,12 +95,7 @@ int main(int argc, char **)
return 1;
if (!findFirst(strCommandLine, strCommandLineLength, pos, L" \t", pos))
return 1;
#ifdef Q_CC_MSVC
wmemmove_s(strCommandLine, strCommandLineLength, strCommandLine + pos + 1, strCommandLineLength - pos);
#else
wmemmove(strCommandLine, strCommandLine + pos + 1, strCommandLineLength - pos);
#endif
bool bSuccess = startProcess(strCommandLine);
bool bSuccess = startProcess(strCommandLine + pos + 1);
free(strCommandLine);
if (!bSuccess)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment