summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-12-06 01:03:17 +0000
committerJim Ingham <jingham@apple.com>2014-12-06 01:03:17 +0000
commit67d7af9c342e20df47d29e54422422198733e375 (patch)
tree4473e26619490c65f7d127118a97401e50106181
parent498ff1c1b8912074ed0544c1d4e1183d352a8567 (diff)
downloadbcm5719-llvm-67d7af9c342e20df47d29e54422422198733e375.tar.gz
bcm5719-llvm-67d7af9c342e20df47d29e54422422198733e375.zip
Fix a type (MAX_PATH instead of PATH_MAX) and remove an unused variable.
llvm-svn: 223559
-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