summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Host/common/Host.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index 94b8144fd03..569cecc1bf6 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -557,8 +557,7 @@ Host::RunShellCommand (const char *command,
if (working_dir)
launch_info.SetWorkingDirectory(working_dir);
- llvm::SmallString<MAX_PATH> output_file_path;
- char output_file_path_buffer[PATH_MAX];
+ llvm::SmallString<PATH_MAX> output_file_path;
if (command_output_ptr)
{
OpenPOWER on IntegriCloud