[Lldb-commits] [lldb] r223559 - Fix a type (MAX_PATH instead of PATH_MAX) and remove an unused variable.
Jim Ingham
jingham at apple.com
Fri Dec 5 17:03:17 PST 2014
Author: jingham
Date: Fri Dec 5 19:03:17 2014
New Revision: 223559
URL: http://llvm.org/viewvc/llvm-project?rev=223559&view=rev
Log:
Fix a type (MAX_PATH instead of PATH_MAX) and remove an unused variable.
Modified:
lldb/trunk/source/Host/common/Host.cpp
Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=223559&r1=223558&r2=223559&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Fri Dec 5 19:03:17 2014
@@ -557,8 +557,7 @@ Host::RunShellCommand (const char *comma
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)
{
More information about the lldb-commits
mailing list