mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Zero-initializing variables; fixes a build breakage introduced in r183864.
llvm-svn: 183904
This commit is contained in:
parent
86ab3769dc
commit
fc1bf34b8c
@ -33,7 +33,7 @@ int sys::ExecuteAndWait(const Path &path, const char **args, const char **envp,
|
||||
const Path **redirects, unsigned secondsToWait,
|
||||
unsigned memoryLimit, std::string *ErrMsg,
|
||||
bool *ExecutionFailed) {
|
||||
void *Data;
|
||||
void *Data = 0;
|
||||
if (Execute(Data, path, args, envp, redirects, memoryLimit, ErrMsg)) {
|
||||
if (ExecutionFailed) *ExecutionFailed = false;
|
||||
return Wait(Data, path, secondsToWait, ErrMsg);
|
||||
@ -45,7 +45,7 @@ int sys::ExecuteAndWait(const Path &path, const char **args, const char **envp,
|
||||
void sys::ExecuteNoWait(const Path &path, const char **args, const char **envp,
|
||||
const Path **redirects, unsigned memoryLimit,
|
||||
std::string *ErrMsg) {
|
||||
void *Data;
|
||||
void *Data = 0;
|
||||
Execute(Data, path, args, envp, redirects, memoryLimit, ErrMsg);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user