Clean up obsolete g++ 2.95 workaround.
--HG-- extra : convert_revision : d8fe9415d855af57e48978904e8f6a52bb7a83cc
This commit is contained in:
parent
fcbfd5a99d
commit
d257169358
|
@ -392,14 +392,10 @@ CREATE_SIM_OBJECT(LiveProcess)
|
|||
// dummy for default env
|
||||
vector<string> null_vec;
|
||||
|
||||
// We do this with "temp" because of the bogus compiler warning
|
||||
// you get with g++ 2.95 -O if you just "return new LiveProcess(..."
|
||||
LiveProcess *temp = LiveProcess::create(getInstanceName(),
|
||||
stdin_fd, stdout_fd, stderr_fd,
|
||||
cmd,
|
||||
env.isValid() ? env : null_vec);
|
||||
|
||||
return temp;
|
||||
return LiveProcess::create(getInstanceName(),
|
||||
stdin_fd, stdout_fd, stderr_fd,
|
||||
cmd,
|
||||
env.isValid() ? env : null_vec);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue