[Lldb-commits] [lldb] r234456 - Missed moving a variable during my previous revision 234455.
Greg Clayton
gclayton at apple.com
Wed Apr 8 17:12:33 PDT 2015
Author: gclayton
Date: Wed Apr 8 19:12:33 2015
New Revision: 234456
URL: http://llvm.org/viewvc/llvm-project?rev=234456&view=rev
Log:
Missed moving a variable during my previous revision 234455.
Modified:
lldb/trunk/source/Host/common/File.cpp
Modified: lldb/trunk/source/Host/common/File.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/File.cpp?rev=234456&r1=234455&r2=234456&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/File.cpp (original)
+++ lldb/trunk/source/Host/common/File.cpp Wed Apr 8 19:12:33 2015
@@ -887,6 +887,8 @@ File::Read (size_t &num_bytes, off_t &of
Error
File::Write (const void *buf, size_t &num_bytes, off_t &offset)
{
+ Error error;
+
#if defined (MAX_WRITE_SIZE)
if (num_bytes > MAX_WRITE_SIZE)
{
@@ -919,7 +921,6 @@ File::Write (const void *buf, size_t &nu
}
#endif
- Error error;
int fd = GetDescriptor();
if (fd != kInvalidDescriptor)
{
More information about the lldb-commits
mailing list