Skip to content

Commit

Permalink
Merge commit 'b359cb39' into v5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chesik-amd committed Jun 22, 2018
2 parents 6da0ed3 + b359cb3 commit 1f92ba8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Src/Common/OSUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ PROCESSID OSUtils::ExecProcess(const char* szExe,
bool bCreateConsole)
{
SP_UNREFERENCED_PARAMETER(bCreateSuspended);
SP_UNREFERENCED_PARAMETER(bCreateConsole);
PROCESSID processId = fork();

if (processId == 0)
Expand All @@ -354,8 +353,9 @@ PROCESSID OSUtils::ExecProcess(const char* szExe,

if (!bCreateConsole)
{
freopen("/dev/null", "w", stdout);
freopen("/dev/null", "w", stderr);
FILE* fFile = freopen("/dev/null", "w", stdout);
fFile = freopen("/dev/null", "w", stderr);
SP_UNREFERENCED_PARAMETER(fFile);
}

// change working directory
Expand Down

0 comments on commit 1f92ba8

Please sign in to comment.