Fix a type (MAX_PATH instead of PATH_MAX) and remove an unused variable.
authorJim Ingham <jingham@apple.com>
Sat, 6 Dec 2014 01:03:17 +0000 (01:03 +0000)
committerJim Ingham <jingham@apple.com>
Sat, 6 Dec 2014 01:03:17 +0000 (01:03 +0000)
llvm-svn: 223559

lldb/source/Host/common/Host.cpp

index 94b8144..569cecc 100644 (file)
@@ -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)
     {