projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45abb8c
)
Remove dead store.
author
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 07:49:27 +0000
(07:49 +0000)
committer
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 07:49:27 +0000
(07:49 +0000)
clang static analyzer fixit.
llvm-svn: 219907
lldb/source/Target/Process.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/Process.cpp
b/lldb/source/Target/Process.cpp
index
5bfca66
..
037ad68
100644
(file)
--- a/
lldb/source/Target/Process.cpp
+++ b/
lldb/source/Target/Process.cpp
@@
-2535,10
+2535,10
@@
Process::WriteMemory (addr_t addr, const void *buf, size_t size, Error &error)
});
if (bytes_written < size)
-
bytes_written +=
WriteMemoryPrivate (addr + bytes_written,
-
ubuf + bytes_written,
-
size - bytes_written,
-
error);
+ WriteMemoryPrivate (addr + bytes_written,
+ ubuf + bytes_written,
+ size - bytes_written,
+ error);
}
}
else