Clean up obsolete g++ 2.95 workaround.

--HG--
extra : convert_revision : d8fe9415d855af57e48978904e8f6a52bb7a83cc
This commit is contained in:
Steve Reinhardt 2004-10-17 22:04:23 -04:00
parent fcbfd5a99d
commit d257169358

View file

@ -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);
}