Skip to content
Snippets Groups Projects
Commit 6215df2b authored by Joerg Bornemann's avatar Joerg Bornemann Committed by Oswald Buddenhagen
Browse files

remove superfluous move from process_ctrlc_stub

Change-Id: Id4458dcf29893a007ee85c0ce85a500617f02b6d
Reviewed-on: http://codereview.qt.nokia.com/2946


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 26bc6c4d
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment