forked from OSchip/llvm-project
Fix a type (MAX_PATH instead of PATH_MAX) and remove an unused variable.
llvm-svn: 223559
This commit is contained in:
parent
498ff1c1b8
commit
67d7af9c34
|
|
@ -557,8 +557,7 @@ Host::RunShellCommand (const char *command,
|
||||||
|
|
||||||
if (working_dir)
|
if (working_dir)
|
||||||
launch_info.SetWorkingDirectory(working_dir);
|
launch_info.SetWorkingDirectory(working_dir);
|
||||||
llvm::SmallString<MAX_PATH> output_file_path;
|
llvm::SmallString<PATH_MAX> output_file_path;
|
||||||
char output_file_path_buffer[PATH_MAX];
|
|
||||||
|
|
||||||
if (command_output_ptr)
|
if (command_output_ptr)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue